mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 21:19:41 -06:00
Notice models didn't have the same injections as GlobalNotice components.
This commit is contained in:
parent
20b2a42f49
commit
5d643a498e
@ -16,6 +16,8 @@ export function addGlobalNotice(text, id, options = {}) {
|
||||
const GLOBAL_NOTICE_DISMISSED_PROMPT_KEY = "dismissed-global-notice-v2";
|
||||
|
||||
const Notice = EmberObject.extend({
|
||||
logsNoticeService: service("logsNotice"),
|
||||
|
||||
text: null,
|
||||
id: null,
|
||||
options: null,
|
||||
|
Loading…
Reference in New Issue
Block a user