You've already forked obsidian-visualiser
Fix useContent not using cookies therefore skipping the auth step
This commit is contained in:
@@ -106,6 +106,9 @@ const options = ref<DropdownOption[]>([{
|
||||
|
||||
const open = ref(false);
|
||||
const { loggedIn, user, clear } = useUserSession();
|
||||
const { fetch } = useContent();
|
||||
|
||||
await fetch(false);
|
||||
|
||||
const route = useRouter().currentRoute;
|
||||
const path = computed(() => route.value.params.path ? Array.isArray(route.value.params.path) ? route.value.params.path[0] : route.value.params.path : undefined);
|
||||
|
||||
Reference in New Issue
Block a user