mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Remove PostSettingsMenuView.
It seems that the properties this sets up (`datePlaceholder` and `publishedAt`) are unused throughout the project.
This commit is contained in:
parent
c3630f5255
commit
eb2d940e11
1 changed files with 0 additions and 14 deletions
|
@ -1,14 +0,0 @@
|
|||
/* global moment */
|
||||
import {formatDate} from 'ghost/utils/date-formatting';
|
||||
|
||||
var PostSettingsMenuView = Ember.View.extend({
|
||||
templateName: 'post-settings-menu',
|
||||
|
||||
publishedAtBinding: Ember.Binding.oneWay('controller.publishedAt'),
|
||||
|
||||
datePlaceholder: Ember.computed('controller.publishedAt', function () {
|
||||
return formatDate(moment());
|
||||
})
|
||||
});
|
||||
|
||||
export default PostSettingsMenuView;
|
Loading…
Add table
Reference in a new issue