Ember Upgrade: 1.0
This commit is contained in:
@@ -10,12 +10,14 @@ Discourse.TopicAdminMenuController = Discourse.ObjectController.extend({
|
||||
menuVisible: false,
|
||||
needs: ['modal'],
|
||||
|
||||
show: function() {
|
||||
this.set('menuVisible', true);
|
||||
},
|
||||
actions: {
|
||||
show: function() {
|
||||
this.set('menuVisible', true);
|
||||
},
|
||||
|
||||
hide: function() {
|
||||
this.set('menuVisible', false);
|
||||
hide: function() {
|
||||
this.set('menuVisible', false);
|
||||
}
|
||||
},
|
||||
|
||||
showRecover: Em.computed.and('deleted', 'details.can_recover')
|
||||
|
||||
Reference in New Issue
Block a user