I mixed both types of posts in the same editor.
This commit is contained in:
@@ -18,7 +18,7 @@ const creatorProfileStore = useCreatorProfileStore();
|
||||
const brandingStore = useBrandingStore();
|
||||
const authStore = useAuthStore();
|
||||
|
||||
const creatorIsCurrentUser = computed(() => authStore.isAuthenticated && authStore.userId === brandingStore.value.id);
|
||||
const creatorIsCurrentUser = computed(() => authStore.isAuthenticated && authStore.userId);
|
||||
|
||||
const createHtmlContent = () => {
|
||||
router.push('/content/editor');
|
||||
@@ -57,8 +57,8 @@ initializeLocale();
|
||||
</router-link>
|
||||
</div>
|
||||
|
||||
<div v-if="creatorIsCurrentUser" class="justify-center text-center">
|
||||
<publish-content-button></publish-content-button>
|
||||
|
||||
<div v-if="creatorIsCurrentUser" class="justify-center text-center">
|
||||
<v-btn variant="flat" icon @click="createHtmlContent">
|
||||
<v-icon>mdi-pencil</v-icon>
|
||||
</v-btn>
|
||||
|
||||
Reference in New Issue
Block a user