A self-hosted media server and file management system
Vue ffmpegfile-serverjellyfinlaravelmediamedia-playermedia-servermediabrowsermediaservermusicmusic-librarymusic-playermusicplayerself-hostedvuejs
fix: folder info button is hidden when not logged in
aminnausinf65d7a944e09
diff --git a/resources/js/components/folders/FolderDescription.vue b/resources/js/components/folders/FolderDescription.vueindex 83fdf1dc..994168f0 100644--- a/resources/js/components/folders/FolderDescription.vue+++ b/resources/js/components/folders/FolderDescription.vue@@ -141,7 +141,7 @@ onMounted(() => {<div :class="cn('grid grid-cols-1 gap-2', { '@3xs:grid-cols-3': stats.length >= 3 }, { '@3xs:grid-cols-2 @sm:grid-cols-4': stats.length >= 4 })" v-if="data.series"><div- class="bg-surface-3/50 dark:bg-surface-3 flex flex-col items-center justify-center gap-0.5 rounded-lg p-3 text-center shadow-sm dark:shadow-none"+ class="bg-surface-3/50 dark:bg-surface-3 flex flex-col items-center justify-center gap-0.5 rounded-md p-3 text-center shadow-sm dark:shadow-none"v-for="stat in stats":key="stat.label">diff --git a/resources/js/components/video/VideoInfoPanel.vue b/resources/js/components/video/VideoInfoPanel.vueindex 0ba705ec..49df5d20 100755--- a/resources/js/components/video/VideoInfoPanel.vue+++ b/resources/js/components/video/VideoInfoPanel.vue@@ -321,22 +321,24 @@ onMounted(() => {:src="stateFolder?.series?.poster_image?.path ?? handleStorageURL(stateFolder?.series?.thumbnail_url) ?? '/storage/thumbnails/default.webp'"/>- <div v-if="isAuthenticated" class="absolute right-1 bottom-1 space-y-1.5 opacity-0 transition-opacity group-hover:opacity-100 focus-within:opacity-100">+ <div class="absolute right-1 bottom-1 space-y-1.5 opacity-0 transition-opacity group-hover:opacity-100 focus-within:opacity-100"><ButtonIcon class="size-7 p-0 shadow-md" title="Folder Details" :to="`/${stateFolder.category_id}/${stateFolder.title}/details`"><template #icon><ProiconsInfoSquare class="size-4.5" /></template></ButtonIcon>- <ButtonIcon class="size-7 p-0 shadow-md" title="Edit Folder Images" @click="handleEditFolderImages(stateFolder)">- <template #icon>- <ProiconsPhoto height="16" width="16" />- </template>- </ButtonIcon>- <ButtonIcon class="size-7 p-0 shadow-md" title="Edit Folder Metadata" @click="modal.open(EditFolderModal, { cachedFolder: stateFolder })">- <template #icon>- <CircumEdit height="16" width="16" />- </template>- </ButtonIcon>+ <template v-if="isAuthenticated">+ <ButtonIcon class="size-7 p-0 shadow-md" title="Edit Folder Images" @click="handleEditFolderImages(stateFolder)">+ <template #icon>+ <ProiconsPhoto height="16" width="16" />+ </template>+ </ButtonIcon>+ <ButtonIcon class="size-7 p-0 shadow-md" title="Edit Folder Metadata" @click="modal.open(EditFolderModal, { cachedFolder: stateFolder })">+ <template #icon>+ <CircumEdit height="16" width="16" />+ </template>+ </ButtonIcon>+ </template></div></div><div class="group flex w-full min-w-0 flex-1 flex-col gap-2">