mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 02:40:53 -06: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