Fixes component stack
This commit is contained in:
@@ -1004,7 +1004,7 @@ class EditorCtrl extends PureCtrl {
|
|||||||
});
|
});
|
||||||
|
|
||||||
this.setState({
|
this.setState({
|
||||||
state: components
|
componentStack: components
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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
79105
dist/javascripts/app.js
vendored
File diff suppressed because one or more lines are too long
2
dist/javascripts/app.js.map
vendored
2
dist/javascripts/app.js.map
vendored
File diff suppressed because one or more lines are too long
2652
dist/stylesheets/app.css
vendored
2652
dist/stylesheets/app.css
vendored
File diff suppressed because one or more lines are too long
2
dist/stylesheets/app.css.map
vendored
2
dist/stylesheets/app.css.map
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user