feat(kol): sidebar nav groups for marketplace + KOL workspace

This commit is contained in:
2026-04-17 09:02:39 +08:00
parent 40519545c6
commit 76f5c73773
4 changed files with 211 additions and 46 deletions
+4 -1
View File
@@ -65,6 +65,8 @@ export const useAuthStore = defineStore("auth", () => {
}
const isAuthenticated = computed(() => Boolean(accessToken.value && user.value));
const kolProfile = computed(() => user.value?.kol_profile ?? null);
const isActiveKol = computed(() => kolProfile.value?.status === "active");
return {
accessToken,
@@ -72,9 +74,10 @@ export const useAuthStore = defineStore("auth", () => {
user,
initialized,
isAuthenticated,
kolProfile,
isActiveKol,
bootstrap,
login,
logout,
};
});