mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
FIX: Ember regression in read-only banner
This commit is contained in:
parent
2f8e29bd04
commit
8812f95839
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ export default {
|
|||
|
||||
var site = container.lookup('site:main');
|
||||
Discourse.MessageBus.subscribe("/site/read-only", function (enabled) {
|
||||
site.currentProp('isReadOnly', enabled);
|
||||
site.set('isReadOnly', enabled);
|
||||
});
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue