ui: fix notification param

This commit is contained in:
undefined committed 2021-04-06 19:36:07 +08:00
1 parent 9c5d9079c9
commit 38bee6415d
4 files changed
+3 -13

No files matched your search

@@ -3,5 +3,5 @@ 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();
if (text) Notification.success(text);
});
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@hydrooj/ui-default",
"version": "4.5.9",
"version": "4.5.10",
"author": "undefined <i@undefined.moe>",
"license": "AGPL-3.0",
"main": "hydro.js",