const creatorIsCurrentUser = computed(() => authStore.isAuthenticated && authStore.userId === brandingStore.value.id); Je veux que ce bouton soit accessible en tout temps. (vérifier le créateur a une page d'activer et si il est connecté)

This commit is contained in:
PascalMarchesseault
2024-10-23 00:13:51 -04:00
parent 7544e01049
commit 9396f91d18

View File

@@ -18,7 +18,6 @@ const creatorProfileStore = useCreatorProfileStore();
const brandingStore = useBrandingStore();
const authStore = useAuthStore();
// Définir creatorIsCurrentUser avec la logique provenant du premier script
const creatorIsCurrentUser = computed(() => authStore.isAuthenticated && authStore.userId === brandingStore.value.id);
const createHtmlContent = () => {