Ghost/ghost/admin/app/controllers/about.js

18 lines
403 B
JavaScript
Raw Normal View History

import Controller from '@ember/controller';
import {computed} from '@ember/object';
export default Controller.extend({
updateNotificationCount: 0,
actions: {
updateNotificationChange(count) {
this.set('updateNotificationCount', count);
}
},
copyrightYear: computed(function () {
let date = new Date();
return date.getFullYear();
})
});