mirror of
https://github.com/abhinavxd/libredesk.git
synced 2026-09-22 18:43:33 +00:00
5b6a58fba0
- new vue app for serving live chat widget, created subdirectories inside frontend dir `main` and `widget` - vite changes for both main app and widget app. - new backend live chat channel - apis for live chat widget
20 lines
471 B
Vue
20 lines
471 B
Vue
<script setup lang="ts">
|
|
import { TriangleAlert } from 'lucide-vue-next'
|
|
import { Alert, AlertDescription, AlertTitle } from '../alert'
|
|
|
|
defineProps({
|
|
errorMessage: String,
|
|
border: Boolean
|
|
})
|
|
</script>
|
|
|
|
<template>
|
|
<Alert variant="destructive" v-if="errorMessage" :class="{ 'border-0': !border }">
|
|
<TriangleAlert class="w-4 h-4" />
|
|
<AlertTitle>Error</AlertTitle>
|
|
<AlertDescription>
|
|
{{ errorMessage }}
|
|
</AlertDescription>
|
|
</Alert>
|
|
</template>
|