FIX: `LogsNotice` does not have `currentUser` attribute.
This commit is contained in:
parent
712b7af6d5
commit
db781d3349
|
@ -9,9 +9,10 @@ export default {
|
|||
const siteSettings = container.lookup('site-settings:main');
|
||||
const messageBus = container.lookup('message-bus:main');
|
||||
const keyValueStore = container.lookup('key-value-store:main');
|
||||
const currentUser = container.lookup('current-user:main');
|
||||
LogsNotice.reopenClass(Singleton, {
|
||||
createCurrent() {
|
||||
return this.create({ messageBus, keyValueStore, siteSettings});
|
||||
return this.create({ messageBus, keyValueStore, siteSettings, currentUser });
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue