Fixes component stack

This commit is contained in:
Mo Bitar
2020-02-04 09:44:04 -06:00
parent aa4b80d14a
commit 8c898b51be
7 changed files with 25 additions and 81746 deletions

View File

@@ -1004,7 +1004,7 @@ class EditorCtrl extends PureCtrl {
}); });
this.setState({ this.setState({
state: components componentStack: components
}); });
} }

View File

@@ -14,7 +14,7 @@
| {{ctrl.permissionsString}} | {{ctrl.permissionsString}}
.sk-panel-row .sk-panel-row
p.sk-p p.sk-p
| Extensions use an offline messaging system to communicate. Learn more at | Extensions use an offline messaging system to communicate. Learn more at
a.sk-a.info( a.sk-a.info(
href='https://standardnotes.org/permissions', href='https://standardnotes.org/permissions',
rel='noopener', rel='noopener',

View File

@@ -231,11 +231,11 @@
| There was an error decrypting this item. Ensure you are running the | There was an error decrypting this item. Ensure you are running the
| latest version of this app, then sign out and sign back in to try again. | latest version of this app, then sign out and sign back in to try again.
#editor-pane-component-stack(ng-show='self.state.note') #editor-pane-component-stack(ng-show='self.state.note')
#component-stack-menu-bar.sk-app-bar.no-edges(ng-if='self.componentStack.length') #component-stack-menu-bar.sk-app-bar.no-edges(ng-if='self.state.componentStack.length')
.left .left
.sk-app-bar-item( .sk-app-bar-item(
ng-click='self.toggleStackComponentForCurrentItem(component)', ng-click='self.toggleStackComponentForCurrentItem(component)',
ng-repeat='component in self.componentStack' ng-repeat='component in self.state.componentStack'
) )
.sk-app-bar-item-column .sk-app-bar-item-column
.sk-circle.small( .sk-circle.small(
@@ -248,6 +248,6 @@
component='component', component='component',
manual-dealloc='true', manual-dealloc='true',
ng-if='component.active', ng-if='component.active',
ng-repeat='component in self.componentStack', ng-repeat='component in self.state.componentStack',
ng-show='!component.hidden' ng-show='!component.hidden'
) )

79105
dist/javascripts/app.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2652
dist/stylesheets/app.css vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long