mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-05 06:22:52 +08:00
15 lines
416 B
JavaScript
15 lines
416 B
JavaScript
import ko from 'ko';
|
|
import { Settings } from 'Common/Globals';
|
|
import Remote from 'Remote/Admin/Fetch';
|
|
|
|
export class AboutAdminSettings /*extends AbstractViewSettings*/ {
|
|
constructor() {
|
|
this.version = ko.observable(Settings.app('version'));
|
|
this.phpextensions = ko.observableArray();
|
|
}
|
|
|
|
onBuild() {
|
|
Remote.request('AdminPHPExtensions', (iError, data) => iError || this.phpextensions(data.Result));
|
|
}
|
|
|
|
}
|