From 24762abaa927316d41e4d25ff0241adaa9320053 Mon Sep 17 00:00:00 2001 From: Denis Bykhov Date: Thu, 6 Apr 2023 12:12:15 +0600 Subject: [PATCH] Fix notification mark (#2908) Signed-off-by: Denis Bykhov --- models/notification/src/index.ts | 3 +- .../src/components/AppItem.svelte | 14 +-- .../src/components/Workbench.svelte | 88 ++++++++++--------- plugins/workbench/src/index.ts | 1 - .../notification-resources/src/index.ts | 7 +- 5 files changed, 57 insertions(+), 56 deletions(-) diff --git a/models/notification/src/index.ts b/models/notification/src/index.ts index 51246d79ed..1dfb3e2308 100644 --- a/models/notification/src/index.ts +++ b/models/notification/src/index.ts @@ -235,8 +235,7 @@ export function createModel (builder: Builder): void { label: notification.string.Inbox, icon: notification.icon.Notifications, alias: notificationId, - position: 'bottom', - hidden: false, + hidden: true, component: notification.component.Inbox }, notification.app.Notification diff --git a/plugins/workbench-resources/src/components/AppItem.svelte b/plugins/workbench-resources/src/components/AppItem.svelte index bc05a3b550..31ee3cffe4 100644 --- a/plugins/workbench-resources/src/components/AppItem.svelte +++ b/plugins/workbench-resources/src/components/AppItem.svelte @@ -19,20 +19,12 @@ export let label: IntlString export let icon: Asset | AnySvelteComponent - export let action: () => Promise - export let selected: boolean + export let selected: boolean = false export let mini: boolean = false - export let notify: boolean + export let notify: boolean = false -