Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-12-02 05:21:10 +01:00
12 Zeilen
Kein EOL
347 B
JavaScript
12 Zeilen
Kein EOL
347 B
JavaScript
import { getOwner } from "discourse-common/lib/get-owner";
|
|
|
|
export default {
|
|
setupComponent() {
|
|
const controller = getOwner(this).lookup('controller:admin-dashboard')
|
|
const wizardWarningNotice = controller.get('wizardWarningNotice');
|
|
|
|
if (wizardWarningNotice) {
|
|
this.set('wizardWarningNotice', wizardWarningNotice);
|
|
}
|
|
}
|
|
} |