mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 03:16:41 +08:00
Merge pull request #3182 from riking/fix-readonly
FIX: Ember regression in read-only banner
This commit is contained in:
commit
6e7f884dab
|
@ -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 New Issue
Block a user