snappymail/dev/View/User/About.js
RainLoop Team 1526130bfc Add asserts folder
Add @command decorator
2016-09-03 02:19:37 +03:00

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};