diff options
Diffstat (limited to 'packages/frontend/src/widgets/WidgetNotifications.vue')
| -rw-r--r-- | packages/frontend/src/widgets/WidgetNotifications.vue | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/frontend/src/widgets/WidgetNotifications.vue b/packages/frontend/src/widgets/WidgetNotifications.vue index e697209444..89f3114b85 100644 --- a/packages/frontend/src/widgets/WidgetNotifications.vue +++ b/packages/frontend/src/widgets/WidgetNotifications.vue @@ -1,7 +1,8 @@ <template> <MkContainer :style="`height: ${widgetProps.height}px;`" :show-header="widgetProps.showHeader" :scrollable="true" class="mkw-notifications"> - <template #header><i class="ti ti-bell"></i>{{ i18n.ts.notifications }}</template> - <template #func><button class="_button" @click="configureNotification()"><i class="ti ti-settings"></i></button></template> + <template #icon><i class="ti ti-bell"></i></template> + <template #header>{{ i18n.ts.notifications }}</template> + <template #func="{ buttonStyleClass }"><button class="_button" :class="buttonStyleClass" @click="configureNotification()"><i class="ti ti-settings"></i></button></template> <div> <XNotifications :include-types="widgetProps.includingTypes"/> |