Add TypeScript wrapper around legacy notification functionality
This commit is contained in:
parent
5337897b23
commit
683657a281
|
@ -0,0 +1,7 @@
|
||||||
|
export function showErrorNotification(text: string): void {
|
||||||
|
showNotification(text, false);
|
||||||
|
}
|
||||||
|
|
||||||
|
export function showNotification(text: string, status = true): void {
|
||||||
|
window['showNotification'](text, status);
|
||||||
|
}
|
Loading…
Reference in New Issue