diff --git a/webclient-vue/src/app/main.js b/webclient-vue/src/app/main.js index 379d764..e9359f1 100644 --- a/webclient-vue/src/app/main.js +++ b/webclient-vue/src/app/main.js @@ -3,6 +3,7 @@ import App from "./App.vue"; import { router } from "../router"; import "@phosphor-icons/web/regular"; +import "@phosphor-icons/web/fill"; import "../styles/main.css"; createApp(App) diff --git a/webclient-vue/src/components/layout/AppShell.vue b/webclient-vue/src/components/layout/AppShell.vue index c8d4ac6..c7dcc6d 100644 --- a/webclient-vue/src/components/layout/AppShell.vue +++ b/webclient-vue/src/components/layout/AppShell.vue @@ -43,7 +43,7 @@ }); const navItems = [ - { label: "Favorites", to: "/areas/favorites", icon: "ph-star" }, + { label: "Favorites", to: "/areas/favorites", icon: "ph-bookmarks" }, { label: "Areas", to: "/areas/tree", icon: "ph-map-trifold" }, { label: "Devices", to: "/devices", icon: "ph-cpu" }, { label: "Scanning", to: "/devices/scanning", icon: "ph-magnifying-glass" }, diff --git a/webclient-vue/src/features/areas/components/AreaFavoriteButton.vue b/webclient-vue/src/features/areas/components/AreaFavoriteButton.vue new file mode 100644 index 0000000..150ea3d --- /dev/null +++ b/webclient-vue/src/features/areas/components/AreaFavoriteButton.vue @@ -0,0 +1,26 @@ + + + diff --git a/webclient-vue/src/features/areas/components/AreaTreeNode.vue b/webclient-vue/src/features/areas/components/AreaTreeNode.vue index 5173122..f1a2d58 100644 --- a/webclient-vue/src/features/areas/components/AreaTreeNode.vue +++ b/webclient-vue/src/features/areas/components/AreaTreeNode.vue @@ -20,13 +20,7 @@
- - {{ isFavorite ? "Remove bookmark" : "Bookmark" }} - +
@@ -49,8 +43,8 @@