Skip to content

Commit

Permalink
chore: adjust user dropdown divider style
Browse files Browse the repository at this point in the history
  • Loading branch information
MiniDigger committed Jul 21, 2024
1 parent 816145f commit 4c2e34d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/layout/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ function isRecent(date: string): boolean {
<DropdownItem :to="'/' + authStore.user.name">{{ t("nav.user.profile") }}</DropdownItem>
<DropdownItem to="/notifications">{{ t("nav.user.notifications") }}</DropdownItem>
<DropdownItem to="/auth/settings/profile">{{ t("nav.user.settings") }}</DropdownItem>
<hr />
<hr class="border-zinc-200 dark:border-zinc-700" />
<DropdownItem v-if="hasPerms(NamedPermission.ModNotesAndFlags)" to="/admin/flags">
{{ t("nav.user.flags") }}
<span v-if="authStore.user.headerData.unresolvedFlags !== 0">{{ "(" + authStore.user?.headerData.unresolvedFlags + ")" }}</span>
Expand All @@ -338,7 +338,7 @@ function isRecent(date: string): boolean {
<DropdownItem v-if="hasPerms(NamedPermission.EditAllUserSettings)" to="/admin/user/">
{{ t("nav.user.userList") }}
</DropdownItem>
<hr />
<hr class="border-zinc-200 dark:border-zinc-700" />
<DropdownItem @click="auth.logout()">{{ t("nav.user.logout") }}</DropdownItem>
</div>
</template>
Expand Down

0 comments on commit 4c2e34d

Please sign in to comment.