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({
state: components
componentStack: components
});
}

View File

@@ -14,7 +14,7 @@
| {{ctrl.permissionsString}}
.sk-panel-row
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(
href='https://standardnotes.org/permissions',
rel='noopener',

View File

@@ -231,11 +231,11 @@
| 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.
#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
.sk-app-bar-item(
ng-click='self.toggleStackComponentForCurrentItem(component)',
ng-repeat='component in self.componentStack'
ng-repeat='component in self.state.componentStack'
)
.sk-app-bar-item-column
.sk-circle.small(
@@ -248,6 +248,6 @@
component='component',
manual-dealloc='true',
ng-if='component.active',
ng-repeat='component in self.componentStack',
ng-repeat='component in self.state.componentStack',
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