1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-24 06:28:42 +01:00

chore: adds survey as link (#3571)

This commit is contained in:
Amir Raminfar
2025-01-22 09:58:06 -08:00
committed by GitHub
parent 3b122564d9
commit 2378a1f115
8 changed files with 173 additions and 126 deletions

View File

@@ -1,20 +1,7 @@
<template>
<div class="flex items-center justify-end gap-4">
<slot name="more-items"></slot>
<Dropdown class="dropdown-end" @closed="latestTag = latest?.tag ?? config.version">
<template #trigger>
<mdi:announcement class="size-6 -rotate-12" />
<span
class="bg-red absolute top-0 right-px size-2 rounded-full"
v-if="hasUpdate && latestTag != latest?.tag"
></span>
</template>
<template #content>
<div class="w-72">
<Releases />
</div>
</template>
</Dropdown>
<Announcements />
<router-link
:to="{ name: '/settings' }"
@@ -58,7 +45,4 @@ async function logout() {
location.reload();
}
const { hasUpdate, latest } = useReleases();
const latestTag = useProfileStorage("releaseSeen", config.version);
</script>