refactor: migrate account-menu to react - implement functionality
- link the new React component to the app's store - setup correct initial values - small fixes
This commit is contained in:
@@ -18,7 +18,11 @@
|
||||
ng-if='ctrl.showAccountMenu',
|
||||
application='ctrl.application'
|
||||
)
|
||||
account-menu2()
|
||||
account-menu2(
|
||||
ng-click='$event.stopPropagation()',
|
||||
app-state='ctrl.appState'
|
||||
application='ctrl.application'
|
||||
)
|
||||
.sk-app-bar-item
|
||||
a.no-decoration.sk-label.title(
|
||||
href='https://standardnotes.org/help',
|
||||
|
||||
@@ -438,7 +438,6 @@ class FooterViewCtrl extends PureViewCtrl<unknown, {
|
||||
}
|
||||
|
||||
accountMenuPressed() {
|
||||
console.log('here');
|
||||
this.appState.accountMenu.toggleShow();
|
||||
this.appState.accountMenu2.toggleShow();
|
||||
this.closeAllRooms();
|
||||
|
||||
Reference in New Issue
Block a user