Skip to content

A self-hosted media server and file management system

chore: change initial no libraries error to a warning

aminnausin284a22ebe9c3
diff --git a/resources/js/views/RootView.vue b/resources/js/views/RootView.vue
index 382af3ca..3d97d8b4 100644
--- a/resources/js/views/RootView.vue
+++ b/resources/js/views/RootView.vue
@@ -10,7 +10,7 @@ onBeforeMount(async () => {
try {
const { data } = await getCategories();
- if (data?.data?.length == 0) toast.error('Error', { description: 'No libraries exist yet.' });
+ if (data?.data?.length == 0) toast.warning('Warning', { description: 'No libraries exist yet.' });
const defaultPath = data?.data?.[0]?.name ?? 'setup';
router.replace(`/${defaultPath}`);