Skip to content

A self-hosted media server and file management system

Fix lint errors for deploy

aminnausin5a48813cadef
diff --git a/resources/js/components/cards/RecordCard.vue b/resources/js/components/cards/RecordCard.vue
index 1dd1d803..87a2ce6d 100644
--- a/resources/js/components/cards/RecordCard.vue
+++ b/resources/js/components/cards/RecordCard.vue
@@ -15,9 +15,6 @@
<h3 class="text-right text-neutral-500 text-nowrap line-clamp-1 truncate">{{ timeSpan }}</h3>
<span class="hidden space-x-1">
<button class="hover:bg-orange-500 hover:stroke-none border-orange-500 border-2 rounded shadow px-2">Watch</button>
- <svg xmlns="https://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6">
- <path stroke-linecap="round" stroke-linejoin="round" d="M19.5 13.5 12 21m0 0-7.5-7.5M12 21V3" />
- </svg>
</span>
</aside>
</div>
diff --git a/resources/js/components/cards/RecordCardDetails.vue b/resources/js/components/cards/RecordCardDetails.vue
index b3a3af34..2bb64c7a 100644
--- a/resources/js/components/cards/RecordCardDetails.vue
+++ b/resources/js/components/cards/RecordCardDetails.vue
@@ -19,9 +19,6 @@
<h3 class="text-lg text-right text-neutral-500 text-nowrap line-clamp-1 truncate">{{ timeSpan }}</h3>
<span class="hidden space-x-1">
<button class="hover:bg-orange-500 hover:stroke-none border-orange-500 border-2 rounded shadow px-2">Watch</button>
- <svg xmlns="https://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6">
- <path stroke-linecap="round" stroke-linejoin="round" d="M19.5 13.5 12 21m0 0-7.5-7.5M12 21V3" />
- </svg>
</span>
</aside>
</div>
diff --git a/resources/js/stores/AuthStore.js b/resources/js/stores/AuthStore.js
index 636b452f..d4785810 100644
--- a/resources/js/stores/AuthStore.js
+++ b/resources/js/stores/AuthStore.js
@@ -33,6 +33,7 @@ export const useAuthStore = defineStore('Auth', () => {
return true;
} catch (error) {
console.log(error);
+ // eslint-disable-next-line no-undef
toastr.error('Session Expired, Unable to Log In');
clearAuthState();
return false;
diff --git a/resources/js/use/useResource.js b/resources/js/use/useResource.js
deleted file mode 100644
index 79bbc375..00000000
--- a/resources/js/use/useResource.js
+++ /dev/null
@@ -1,14 +0,0 @@
-import { ref } from "vue";
-
-export function useResource() {
- const data = ref(null)
- const error = ref(null)
-
- // GET
-
- // POST
-
- // PATCH
-
- // DELETE
-}
\ No newline at end of file
diff --git a/resources/js/views/VideoView.vue b/resources/js/views/VideoView.vue
index f0d9d065..72d7cd2b 100644
--- a/resources/js/views/VideoView.vue
+++ b/resources/js/views/VideoView.vue
@@ -4,7 +4,6 @@ import LayoutBase from '../components/layout/LayoutBase.vue';
import VideoPlayer from '../components/video/VideoPlayer.vue';
import VideoTable from '../components/video/VideoTable.vue';
-import LucideShare from '~icons/lucide/share';
import CircumShare1 from '~icons/circum/share-1';
import { onMounted, watch } from 'vue';
@@ -113,7 +112,7 @@ watch(() => selectedSideBar.value, cycleSideBar, { immediate: false });
role="group">
<section class="flex gap-2">
<button
- class="p-2 bg-button-100 dark:bg-button-900 rounded-lg dark:ring-neutral-700 hover:ring-violet-700 hover:bg-violet-400/50 ring-[0.125rem] ring-inset">Edit
+ class="p-2 bg-button-100 dark:bg-button-900 rounded-lg dark:ring-violet-500 hover:ring-violet-700 hover:bg-violet-400/50 ring-[0.125rem] ring-inset">Edit
Details</button>
<button
class="p-2 bg-button-100 dark:bg-button-900 rounded-lg dark:ring-neutral-700 hover:ring-violet-700 hover:bg-violet-400/50 dark:ring-[0.125rem] hover:ring-[0.125rem] ring-inset">