diff options
| author | Thomas Hackl <hackl@data-quest.de> | 2024-06-18 12:18:17 +0000 |
|---|---|---|
| committer | Thomas Hackl <hackl@data-quest.de> | 2024-06-18 12:18:17 +0000 |
| commit | 26e02e32841671fa162cf11cb0fa925aa4452da5 (patch) | |
| tree | e6dc3f0264f966b6095d967828f7971595d27060 /resources/assets/javascripts/bootstrap | |
| parent | ab3352dec1bc28b5b828b35afb5f2d974d6c3fb1 (diff) | |
Resolve "Neues Benachrichtungssystem für Stud.IP"
Closes #660
Merge request studip/studip!2557
Diffstat (limited to 'resources/assets/javascripts/bootstrap')
| -rw-r--r-- | resources/assets/javascripts/bootstrap/system-notifications.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/resources/assets/javascripts/bootstrap/system-notifications.js b/resources/assets/javascripts/bootstrap/system-notifications.js new file mode 100644 index 0000000..7a85fcd --- /dev/null +++ b/resources/assets/javascripts/bootstrap/system-notifications.js @@ -0,0 +1,11 @@ +import SystemNotificationManager from '../../../vue/components/SystemNotificationManager.vue'; + +STUDIP.domReady(() => { + document.getElementById('system-notifications')?.classList.add('vueified'); + STUDIP.Vue.load().then(({ createApp }) => { + createApp({ + el: '#system-notifications', + components: { SystemNotificationManager } + }); + }); +}); |
