diff --git a/person/page/page.view.tree b/person/page/page.view.tree index ea731e39d2..091f20db6a 100644 --- a/person/page/page.view.tree +++ b/person/page/page.view.tree @@ -1,6 +1,6 @@ $hyoo_realworld_person_page $mol_page title @ \Profile - section?name \ + section? null tools / - <= Sign_out $mol_button_minor title \ diff --git a/realworld.view.tree b/realworld.view.tree index c7c1d6628c..c2771afcd7 100644 --- a/realworld.view.tree +++ b/realworld.view.tree @@ -5,7 +5,7 @@ $hyoo_realworld $mol_book2 Profile $hyoo_realworld_person_page section?name <=> section?name \ Person $hyoo_realworld_person_page - sections * + sections *$mol_page articles <= feed_current $hyoo_realworld_feed_page article <= article_current $hyoo_realworld_article_page edit <= edit_current $hyoo_realworld_article_edit diff --git a/realworld.view.ts b/realworld.view.ts index ed399781a2..107a6a91bc 100644 --- a/realworld.view.ts +++ b/realworld.view.ts @@ -49,13 +49,13 @@ namespace $.$$ { return [ this.Home() , this.section() ? this.sections()[ this.section()! ] : this.sections().articles , - this.tag() && this.feed_current() , + this.tag() ? this.feed_current() : null, this.article() && this.article_current() , - this.edit() && ( + this.edit() ? ( this.signed() ? this.edit_current() : this.sections().sign_in - ), + ) : null, this.person() ? this.Person() : null , - ].filter( Boolean ) + ].filter( $mol_guard_defined ) } }