mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-04-06 20:16:00 -04:00
Merge pull request #3182 from riking/fix-readonly
FIX: Ember regression in read-only banner
This commit is contained in:
commit
6e7f884dab
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…
Add table
Reference in a new issue