FIX: Global log notice regressed in #15000 (#15119)

Notice models didn't have the same injections as GlobalNotice components.
This commit is contained in:
Jarek Radosz 2021-11-29 07:13:35 +01:00 committed by GitHub
parent 20b2a42f49
commit 5d643a498e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,