Project versions hot fixes (#4928)

* Fix everyone seeing managing gallery/version has moved alert

* fix loader picker disappear
This commit is contained in:
Truman Gao
2025-12-18 13:35:57 -08:00
committed by GitHub
parent 2d5568ecec
commit 563997e060
4 changed files with 4 additions and 4 deletions

View File

@@ -5,7 +5,7 @@
<Chips
v-model="loaderGroup"
:items="groupLabels"
:never-empty="false"
:never-empty="true"
:capitalize="true"
size="small"
/>

View File

@@ -195,7 +195,7 @@
</div>
</div>
</div>
<Admonition v-if="!hideGalleryAdmonition" type="info" class="mb-4">
<Admonition v-if="!hideGalleryAdmonition && currentMember" type="info" class="mb-4">
Managing gallery has moved! You can now add and edit gallery images in the
<NuxtLink to="settings/gallery" class="font-medium text-blue hover:underline"
>project settings</NuxtLink

View File

@@ -27,7 +27,7 @@
project.slug ? project.slug : project.id
}/version/${encodeURI(version.displayUrlEnding)}`
"
:open-modal="openModal"
:open-modal="currentMember ? openModal : undefined"
>
<template #actions="{ version }">
<ButtonStyled circular type="transparent">

View File

@@ -1,6 +1,6 @@
<template>
<section class="experimental-styles-within overflow-visible">
<Admonition v-if="!hideVersionsAdmonition" type="info" class="mb-4">
<Admonition v-if="!hideVersionsAdmonition && currentMember" type="info" class="mb-4">
Managing project versions has moved! You can now add and edit versions in the
<NuxtLink to="settings/versions" class="font-medium text-blue hover:underline"
>project settings</NuxtLink