mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
More ko.computed to pureComputed
This commit is contained in:
parent
a15454fd15
commit
679d7356e0
8 changed files with 46 additions and 50 deletions
|
|
@ -1,4 +1,5 @@
|
|||
import ko from 'ko';
|
||||
import { koComputable } from 'External/ko';
|
||||
|
||||
import Remote from 'Remote/Admin/Fetch';
|
||||
|
||||
|
|
@ -16,8 +17,7 @@ class PaneSettingsAdminView extends AbstractViewRight {
|
|||
|
||||
this.leftPanelDisabled = leftPanelDisabled;
|
||||
|
||||
this.adminManLoadingVisibility = ko
|
||||
.computed(() => PackageAdminStore.loading() ? 'visible' : 'hidden');
|
||||
this.adminManLoadingVisibility = koComputable(() => PackageAdminStore.loading() ? 'visible' : 'hidden');
|
||||
}
|
||||
|
||||
logoutClick() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue