mirror of
https://github.com/urbit/shrub.git
synced 2024-11-27 18:34:48 +03:00
fix crash on folder rendering
This commit is contained in:
parent
001cf49470
commit
c513d378d4
@ -71,7 +71,9 @@
|
||||
%+ turn folder
|
||||
|= name=@tas
|
||||
=/ pith ~[name]
|
||||
=/ =pail:neo q.saga:(~(got of:neo kids.bowl) pith)
|
||||
?~ suga=(~(get of:neo kids.bowl) pith)
|
||||
;div.p3.br1.bd1: no file called {<name>}
|
||||
=/ =pail:neo q.saga.u.suga
|
||||
=/ =stud:neo p.pail
|
||||
=/ =path (pout (welp here.bowl pith))
|
||||
=/ label
|
||||
|
@ -14,7 +14,7 @@
|
||||
^- kook:neo
|
||||
|%
|
||||
++ state pro/%folder
|
||||
++ poke (sy %folder %folder-diff ~)
|
||||
++ poke (sy %folder-diff ~)
|
||||
++ kids
|
||||
:- ~
|
||||
:- %y
|
||||
@ -44,7 +44,7 @@
|
||||
=/ this !<(folder q.pail)
|
||||
?- -.poke
|
||||
%make
|
||||
:_ folder/!>([name.poke this])
|
||||
:_ folder/!>([name.poke this]) :: add new item to head of of list
|
||||
:~ [(snoc here.bowl name.poke) %make stud.poke (~(get by default-pails) stud.poke) ~]
|
||||
==
|
||||
::
|
||||
|
@ -24,15 +24,20 @@
|
||||
:_ home/!>(*home)
|
||||
:~ [#/[p/our.bowl]/home/diary %make %diary ~ ~]
|
||||
[#/[p/our.bowl]/home/tasks %make %task `task/!>(['' | & ~]) ~]
|
||||
[#/[p/our.bowl]/home/sail %make %sail `sail/!>(['' 'prose p-page' ~]) ~]
|
||||
[#/[p/our.bowl]/home/sail %make %sail `sail/!>(['# hello world' 'prose p-page mw-page ma' ~]) ~]
|
||||
[#/[p/our.bowl]/home/accel %make %accel ~ ~]
|
||||
[#/[p/our.bowl]/home/circle %make %circle ~ ~]
|
||||
[#/[p/our.bowl]/home/files %make %folder ~ ~]
|
||||
[#/[p/our.bowl]/home/planner %make %planner ~ ~]
|
||||
[#/[p/our.bowl]/home/messenger %make %messenger ~ ~]
|
||||
[#/[p/our.bowl]/home/docs %make %folder `folder/!>([%diary %feather ~]) ~]
|
||||
[#/[p/our.bowl]/home/docs/feather %make %sail `sail/!>([feather-intro 'prose p-page mw-page ma' ~]) ~]
|
||||
[#/[p/our.bowl]/home/docs/diary %make %sail `sail/!>([diary 'prose p-page mw-page ma' ~]) ~]
|
||||
::
|
||||
[#/[p/our.bowl]/home/docs %make %folder `folder/!>([%introduction %tutorials %guides ~]) ~]
|
||||
::
|
||||
[#/[p/our.bowl]/home/docs/tutorials %make %folder `folder/!>([%counter %diary %messenger %tasks ~]) ~]
|
||||
[#/[p/our.bowl]/home/docs/tutorials/diary %make %sail `sail/!>([diary 'prose p-page mw-page ma' ~]) ~]
|
||||
::
|
||||
[#/[p/our.bowl]/home/docs/guides %make %folder `folder/!>([%feather ~]) ~]
|
||||
[#/[p/our.bowl]/home/docs/guides/feather %make %sail `sail/!>([feather-intro 'prose p-page mw-page ma' ~]) ~]
|
||||
==
|
||||
++ poke
|
||||
|= =pail:neo
|
||||
|
Loading…
Reference in New Issue
Block a user