mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-11-11 09:45:54 +08:00
1526130bfc
Add @command decorator
22 lines
453 B
JavaScript
22 lines
453 B
JavaScript
|
|
import ko from 'ko';
|
|
|
|
import * as Settings from 'Storage/Settings';
|
|
|
|
import {view, ViewType} from 'Knoin/Knoin';
|
|
import {AbstractViewNext} from 'Knoin/AbstractViewNext';
|
|
|
|
@view({
|
|
name: 'View/User/About',
|
|
type: ViewType.Center,
|
|
templateID: 'About'
|
|
})
|
|
class AboutUserView extends AbstractViewNext
|
|
{
|
|
constructor() {
|
|
super();
|
|
this.version = ko.observable(Settings.appSettingsGet('version'));
|
|
}
|
|
}
|
|
|
|
export {AboutUserView, AboutUserView as default};
|