mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 12:39:20 +03:00
Replace viewDecorator and popupDecorator with proper AbstractView classes
This commit is contained in:
parent
51958babba
commit
864da66b5f
38 changed files with 202 additions and 359 deletions
|
|
@ -9,16 +9,12 @@ import Remote from 'Remote/User/Fetch';
|
|||
import { FilterModel } from 'Model/Filter';
|
||||
import SieveStore from 'Stores/User/Sieve';
|
||||
|
||||
import { popup, showScreenPopup/*, command*/ } from 'Knoin/Knoin';
|
||||
import { AbstractViewNext } from 'Knoin/AbstractViewNext';
|
||||
import { showScreenPopup/*, command*/ } from 'Knoin/Knoin';
|
||||
import { AbstractViewPopup } from 'Knoin/AbstractViews';
|
||||
|
||||
@popup({
|
||||
name: 'View/Popup/SieveScript',
|
||||
templateID: 'PopupsSieveScript'
|
||||
})
|
||||
class SieveScriptPopupView extends AbstractViewNext {
|
||||
class SieveScriptPopupView extends AbstractViewPopup {
|
||||
constructor() {
|
||||
super();
|
||||
super('SieveScript');
|
||||
|
||||
ko.addObservablesTo(this, {
|
||||
saveError: false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue