You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
297 B
JavaScript
8 lines
297 B
JavaScript
4 years ago
|
import { AutoloadPage } from 'vj/misc/Page';
|
||
|
import Notification from 'vj/components/notification/index';
|
||
|
|
||
|
export default new AutoloadPage('notificationPage', () => {
|
||
|
const text = new URL(window.location.href).searchParams.get('notification');
|
||
|
if (text) new Notification(text).show();
|
||
|
});
|