feat: add protect option to menu

This commit is contained in:
Antonella Sgarlatta
2021-05-11 17:09:23 -03:00
parent b3380cf323
commit 8302733a49
6 changed files with 80 additions and 35 deletions

View File

@@ -1,11 +1,11 @@
#editor-column.section.editor.sn-component(aria-label='Note')
protected-note-panel.h-full.flex.justify-center.items-center(
ng-if='self.state.showProtectedWarning'
ng-if='self.appState.notes.showProtectedWarning'
app-state='self.appState'
on-view-note='self.dismissProtectedWarning()'
)
.flex-grow.flex.flex-col(
ng-if='!self.state.showProtectedWarning'
ng-if='!self.appState.notes.showProtectedWarning'
)
.sn-component
.sk-app-bar.no-edges(