feat: Inbox empty state warning

This commit is contained in:
iamsivin
2024-11-15 22:56:35 +05:30
parent e3602acf68
commit 14e7950186
4 changed files with 33 additions and 3 deletions
@@ -39,6 +39,10 @@ const props = defineProps({
type: Boolean,
default: false,
},
hasNoInbox: {
type: Boolean,
default: false,
},
});
const emit = defineEmits([
@@ -127,7 +131,7 @@ const { onFileUpload } = useFileUpload({
@send-message="emit('sendWhatsappMessage', $event)"
/>
<div
v-if="!isWhatsappInbox"
v-if="!isWhatsappInbox && !hasNoInbox"
v-on-clickaway="() => (isEmojiPickerOpen = false)"
class="relative"
>