diff --git a/components/GameCarousel.vue b/components/GameCarousel.vue index 14ab80e..bb40069 100644 --- a/components/GameCarousel.vue +++ b/components/GameCarousel.vue @@ -7,7 +7,11 @@ :key="gameIdx" class="justify-start" > - + @@ -40,6 +44,10 @@ const props = defineProps<{ width?: number; }>(); +const { showGamePanelTextDecoration } = await $dropFetch( + `/api/v1/admin/settings`, +); + const currentComponent = ref(); const min = computed(() => Math.max(props.min ?? 8, props.items.length)); diff --git a/components/GamePanel.vue b/components/GamePanel.vue index 9307ec1..6d001ff 100644 --- a/components/GamePanel.vue +++ b/components/GamePanel.vue @@ -1,44 +1,70 @@ - + - {{ game.mName }} + {{ game ? game.mName : $t("settings.admin.store.dropGameNamePlaceholder") }} - {{ game.mShortDescription }} + {{ + game + ? game.mShortDescription + : $t("settings.admin.store.dropGameDescriptionPlaceholder") + }} - +
- {{ game.mShortDescription }} + {{ + game + ? game.mShortDescription + : $t("settings.admin.store.dropGameDescriptionPlaceholder") + }}