Skip to content

A self-hosted media server and file management system

fix: sidebar card information missing

aminnausin32fb2ba21905
diff --git a/resources/js/components/cards/SidebarCard.vue b/resources/js/components/cards/SidebarCard.vue
index c50c8552..2b1508e7 100644
--- a/resources/js/components/cards/SidebarCard.vue
+++ b/resources/js/components/cards/SidebarCard.vue
@@ -52,16 +52,14 @@ const props = defineProps<{
</div>
</slot>
</section>
- <!-- Extra information if required<section class="flex flex-col sm:flex-row sm:justify-between w-full flex-wrap gap-2 text-sm">
+ <section class="flex flex-col sm:flex-row sm:justify-between w-full flex-wrap gap-2 text-sm">
<slot name="body">
-
- <h3 class="text-neutral-500 w-full text-wrap truncate sm:text-nowrap flex-1" :title="`${2} Episode${2 > 1 ? 's' : ''}`">{{ 2 }} Episode{{ 2 > 1 ? 's' : '' }}</h3>
- <h3 class="truncate text-nowrap sm:text-right text-neutral-500 w-fit lg:hidden xl:block">
- some other folder statistic or data like number of seasons or if its popular or something
+ <h3 class="text-neutral-500 w-full text-wrap truncate sm:text-nowrap flex-1" v-if="false">Episodes: 2</h3>
+ <h3 class="truncate text-nowrap sm:text-right text-neutral-500 w-fit hidden" v-if="false">
+ <!-- some other folder statistic or data like number of seasons or if its popular or something -->
{{ '20gb' }}
</h3>
</slot>
</section>
- -->
</RouterLink>
</template>
diff --git a/resources/js/components/pinesUI/ContextMenu.vue b/resources/js/components/pinesUI/ContextMenu.vue
index a43775a5..51a2cbf7 100644
--- a/resources/js/components/pinesUI/ContextMenu.vue
+++ b/resources/js/components/pinesUI/ContextMenu.vue
@@ -96,18 +96,11 @@ onMounted(() => {
onUnmounted(() => {
window.removeEventListener('resize', closeContextMenu);
- // document.removeEventListener('contextmenu', closeContextMenu);
});
defineExpose({ contextMenuToggle, contextMenuOpen });
</script>
<template>
- <!-- <div
- @contextmenu="(event: any) => contextMenuToggle(event)"
- class="relative z-50 flex h-[150px] w-[300px] text-sm items-center justify-center rounded-md border border-neutral-300 border-dashed text-neutral-800"
- >
- <span class="cursor-default text-neutral-400">Right click here</span>
- </div> -->
<Transition
enter-active-class="ease-out duration-150"
enter-from-class="scale-[0.8] opacity-60"