Skip to content
Snippets Groups Projects
Commit cc35aed7 authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

Move to scoped vpu-notification

parent 9be16b05
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,7 @@ import {ScopedElementsMixin} from '@open-wc/scoped-elements'; ...@@ -4,7 +4,7 @@ import {ScopedElementsMixin} from '@open-wc/scoped-elements';
import {LanguageSelect} from 'vpu-language-select'; import {LanguageSelect} from 'vpu-language-select';
import 'vpu-common/vpu-button.js'; import 'vpu-common/vpu-button.js';
import {Auth} from 'vpu-auth'; import {Auth} from 'vpu-auth';
import 'vpu-notification'; import {Notification} from 'vpu-notification';
import * as commonUtils from 'vpu-common/utils'; import * as commonUtils from 'vpu-common/utils';
import * as commonStyles from 'vpu-common/styles'; import * as commonStyles from 'vpu-common/styles';
import buildinfo from 'consts:buildinfo'; import buildinfo from 'consts:buildinfo';
...@@ -13,7 +13,7 @@ import {Router} from './router.js'; ...@@ -13,7 +13,7 @@ import {Router} from './router.js';
import * as events from 'vpu-common/events.js'; import * as events from 'vpu-common/events.js';
import {BuildInfo} from './build-info.js'; import {BuildInfo} from './build-info.js';
import {TUGrazLogo} from './tugraz-logo.js'; import {TUGrazLogo} from './tugraz-logo.js';
import {send as notify} from 'vpu-notification'; import {send as notify} from 'vpu-common/notification';
import {userProfileMeta} from './vpu-app-shell-user-profile.js'; import {userProfileMeta} from './vpu-app-shell-user-profile.js';
import {appWelcomeMeta} from './vpu-app-shell-welcome.js'; import {appWelcomeMeta} from './vpu-app-shell-welcome.js';
...@@ -68,11 +68,11 @@ export class AppShell extends ScopedElementsMixin(LitElement) { ...@@ -68,11 +68,11 @@ export class AppShell extends ScopedElementsMixin(LitElement) {
'vpu-tugraz-logo': TUGrazLogo, 'vpu-tugraz-logo': TUGrazLogo,
'vpu-build-info': BuildInfo, 'vpu-build-info': BuildInfo,
'vpu-auth': Auth, 'vpu-auth': Auth,
'vpu-notification': Notification,
// https://github.com/open-wc/open-wc/issues/1541 // https://github.com/open-wc/open-wc/issues/1541
'vpu-notification': customElements.get('vpu-notification'),
'vpu-icon': customElements.get('vpu-icon'), 'vpu-icon': customElements.get('vpu-icon'),
}; };
} }
onAttributeObserved(mutationsList, observer) { onAttributeObserved(mutationsList, observer) {
for(let mutation of mutationsList) { for(let mutation of mutationsList) {
......
language-select @ 05266ff5
Subproject commit f6797279a5f00dfe4db52e44f1e016aedeec6a6d Subproject commit 05266ff50d60b31743904ca3988afa9647455a1f
notification @ c7fe7092
Subproject commit b4e2cbb05eb4c4b57f48d96da1caf9b0e1a1d2a1 Subproject commit c7fe70928a4414a0943d5e5ca4e38e851faad270
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment