Publications - quicky et article

This commit is contained in:
PascalMarchesseault
2024-10-24 00:24:38 -04:00
parent 752fc83bbe
commit c7fc948fd0
4 changed files with 61 additions and 63 deletions

View File

@@ -6,8 +6,6 @@ import {computed, ref} from "vue";
import {useI18n} from 'vue-i18n';
import {useCreatorProfileStore} from "@/stores/creatorProfileStore.js";
import {useUserProfileStore} from "@/stores/userProfileStore.js";
import {useBrandingStore} from "@/stores/brandingStore.js";
import PublishContentButton from "@/views/contents/PublishContentButton.vue";
const {locale} = useI18n();
const router = useRouter();
@@ -15,7 +13,6 @@ const selectedLanguage = ref(locale.value);
const userProfileStore = useUserProfileStore();
const creatorProfileStore = useCreatorProfileStore();
const brandingStore = useBrandingStore();
const authStore = useAuthStore();
const creatorIsCurrentUser = computed(() => authStore.isAuthenticated && authStore.userId);
@@ -59,7 +56,7 @@ initializeLocale();
<div v-if="creatorIsCurrentUser" class="justify-center text-center">
<v-btn variant="flat" icon @click="createHtmlContent">
<v-btn variant="flat" icon="" @click="createHtmlContent">
<v-icon>mdi-pencil</v-icon>
</v-btn>
@@ -155,11 +152,5 @@ initializeLocale();
</nav>
</template>
<style scoped>
.icon {
width: 36px;
height: 36px;
fill: #6a0065;
}
</style>