From da112e3f441bb7e84275577c2439d0f53604fcc7 Mon Sep 17 00:00:00 2001 From: Jonathan Bourdon Date: Sun, 22 Sep 2024 03:08:57 -0400 Subject: [PATCH] Remove extra properties from contents --- src/views/contents/contentcards/NContentCard.vue | 4 ---- src/views/contents/contentcards/SmContentCard.vue | 4 ---- 2 files changed, 8 deletions(-) diff --git a/src/views/contents/contentcards/NContentCard.vue b/src/views/contents/contentcards/NContentCard.vue index b8bb26a..483ab85 100644 --- a/src/views/contents/contentcards/NContentCard.vue +++ b/src/views/contents/contentcards/NContentCard.vue @@ -155,10 +155,6 @@ const emits = defineEmits(['content-deleted']) const contentId = computed(() => props.content.id) const creatorId = computed(() => props.content.createdBy) -const creatorName = computed(() => props.content.createdByName) -const creatorLogo = computed(() => props.content.createdByPortraitUrl) -const colorMenu = computed(() => props.content.colorMenu) -const colorAccent = computed(() => props.content.colorAccent) const authStore = useAuthStore(); const messageStore = useMessageStore(); diff --git a/src/views/contents/contentcards/SmContentCard.vue b/src/views/contents/contentcards/SmContentCard.vue index 34b78b8..c96e561 100644 --- a/src/views/contents/contentcards/SmContentCard.vue +++ b/src/views/contents/contentcards/SmContentCard.vue @@ -155,10 +155,6 @@ const emits = defineEmits(['content-deleted']) const contentId = computed(() => props.content.id) const creatorId = computed(() => props.content.createdBy) -const creatorName = computed(() => props.content.createdByName) -const creatorLogo = computed(() => props.content.createdByPortraitUrl) -const colorMenu = computed(() => props.content.colorMenu) -const colorAccent = computed(() => props.content.colorAccent) const authStore = useAuthStore() const creatorIsCurrentUser = computed(() => authStore.isAuthenticated && authStore.userId === creatorId.value)