@cryptotaxi247 / CoPilot / commits / 5fa4beae

fix: updat docker file (#414)

Co-authored-by: Davide Di Modica <webmaster.ddm@gmail.com>

taylor_socfortress committed Feb 27, 2025 at 10:19 UTC 5fa4beaeef67b866e5f07821c5c6a8b8f298ee2e
2 files changed +3 -10
frontend/Dockerfile
+1 -1
@@ -10,7 +10,7 @@ WORKDIR /app
10 # Copy the package.json and pnpm-lock.yaml files into the working directory
11 COPY package.json pnpm-lock.yaml ./
12
13 -RUN corepack enable
13 +RUN npm i -g corepack@latest && corepack enable
14 # Install project dependencies
15 RUN pnpm i
16
frontend/src/app-layouts/common/Toolbar/Notifications.vue
+2 -9
@@ -2,7 +2,7 @@
2 <n-popover :show-arrow="false" placement="bottom" content-class="!p-0 w-72">
3 <template #trigger>
4 <n-badge :show="hasUnread" dot :color="primaryColor">
5 - <Icon :name="BellIcon" :size="21" class="trigger-icon" />
5 + <Icon :name="BellIcon" :size="21" class="text-default" />
6 </n-badge>
7 </template>
8 <template #header>
@@ -42,6 +42,7 @@ import { useThemeStore } from "@/stores/theme"
42 import { NBadge, NButton, NDrawer, NDrawerContent, NPopover, NText } from "naive-ui"
43 import { computed, onBeforeMount, ref } from "vue"
44
45 +const MAX_ITEMS = 7
46 const BellIcon = "ph:bell"
47 const themeStore = useThemeStore()
48 const primaryColor = computed(() => themeStore.style["primary-color"])
@@ -49,15 +50,7 @@ const hasUnread = useNotifications().hasUnread
50 const showDrawer = ref(false)
51 const list = useNotifications().list
52
52 -const MAX_ITEMS = 7
53 -
53 onBeforeMount(() => {
54 useHealthchecksNotify().init()
55 })
56 </script>
58 -
59 -<style lang="scss" scoped>
60 -.trigger-icon {
61 - color: var(--fg-default-color);
62 -}
63 -</style>