mirror of
https://github.com/lingble/chatwoot.git
synced 2025-10-31 19:17:48 +00:00
Fixes https://github.com/chatwoot/chatwoot/issues/8436 Fixes https://github.com/chatwoot/chatwoot/issues/9767 Fixes https://github.com/chatwoot/chatwoot/issues/10156 Fixes https://github.com/chatwoot/chatwoot/issues/6031 Fixes https://github.com/chatwoot/chatwoot/issues/5696 Fixes https://github.com/chatwoot/chatwoot/issues/9250 Fixes https://github.com/chatwoot/chatwoot/issues/9762 --------- Co-authored-by: Pranav <pranavrajs@gmail.com> Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
25 lines
530 B
Vue
25 lines
530 B
Vue
<script setup>
|
|
import { useMapGetter } from 'dashboard/composables/store';
|
|
|
|
defineProps({
|
|
content: {
|
|
type: String,
|
|
default: '',
|
|
},
|
|
});
|
|
|
|
const isRTL = useMapGetter('accounts/isRTL');
|
|
</script>
|
|
|
|
<template>
|
|
<div
|
|
class="overflow-hidden whitespace-nowrap text-ellipsis"
|
|
:class="{ 'text-right': isRTL }"
|
|
>
|
|
<slot v-if="$slots.default || content">
|
|
<template v-if="content">{{ content }}</template>
|
|
</slot>
|
|
<span v-else class="text-slate-300 dark:text-slate-700"> --- </span>
|
|
</div>
|
|
</template>
|