chore: Hide "Learn More" button in feature spotlight for self-hosted (#12675)

This commit is contained in:
Sivin Varghese
2025-10-16 12:04:53 +05:30
committed by GitHub
parent de2a35b617
commit 2180edc14a
8 changed files with 24 additions and 3 deletions

View File

@@ -13,6 +13,7 @@ defineProps({
fallbackThumbnail: { type: String, default: '' },
fallbackThumbnailDark: { type: String, default: '' },
learnMoreUrl: { type: String, default: '' },
hideActions: { type: Boolean, default: false },
});
const imageError = ref(false);
@@ -92,7 +93,7 @@ const openLink = link => {
{{ note }}
</p>
<div class="flex gap-3 justify-between w-full">
<div v-if="!hideActions" class="flex gap-3 justify-between w-full">
<slot name="actions">
<Button
v-if="videoUrl"