Skip to content

Commit

Permalink
Fix message bar
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebclem committed Aug 14, 2024
1 parent b674651 commit 92c0cc7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 1 addition & 2 deletions nextcloud_backup/frontend/src/App.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<template>
<v-app>
<navbar-component></navbar-component>
<message-bar></message-bar>
<webdav-config-menu @saved="cloudList?.refreshBackup"></webdav-config-menu>
<backup-config-menu></backup-config-menu>
<alert-manager></alert-manager>
Expand All @@ -24,7 +23,6 @@ import { ref } from "vue";
import AlertManager from "./components/AlertManager.vue";
import CloudList from "./components/cloud/CloudList.vue";
import HaList from "./components/homeAssistant/HaList.vue";
import MessageBar from "./components/MessageBar.vue";
import NavbarComponent from "./components/NavbarComponent.vue";
import BackupConfigMenu from "./components/settings/BackupConfigMenu.vue";
import WebdavConfigMenu from "./components/settings/WebdavConfigMenu.vue";
Expand All @@ -39,3 +37,4 @@ function refreshLists() {
</script>

<style scoped></style>

2 changes: 1 addition & 1 deletion nextcloud_backup/frontend/src/components/MessageBar.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<v-menu activator="#message-btn" :close-on-content-click="false">
<v-menu activator="parent" :close-on-content-click="false">
<v-sheet width="500" border rounded>
<v-toolbar color="surface" density="comfortable" border>
<v-toolbar-title>Messages</v-toolbar-title>
Expand Down
2 changes: 2 additions & 0 deletions nextcloud_backup/frontend/src/components/NavbarComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
<v-icon class="shake">mdi-bell</v-icon>
</v-badge>
<v-icon v-else>mdi-bell</v-icon>
<message-bar></message-bar>
</v-btn>
<v-menu width="210px">
<template v-slot:activator="{ props }">
Expand Down Expand Up @@ -46,6 +47,7 @@ import { useDialogStatusStore } from "@/store/dialogStatus";
import { useMessageStore } from "@/store/message";
import { storeToRefs } from "pinia";
import logoUrl from "../assets/logo.svg";
import MessageBar from "./MessageBar.vue";
const dialogStatusStore = useDialogStatusStore();
const messagesStore = useMessageStore();
Expand Down

0 comments on commit 92c0cc7

Please sign in to comment.