Merge branch 'develop' into chore-repalce-configMixin-with-useConfig-composable

This commit is contained in:
Fayaz Ahmed
2024-08-28 08:26:01 +05:30
committed by GitHub
197 changed files with 6133 additions and 3812 deletions
@@ -1,5 +1,5 @@
<script>
import messageFormatterMixin from 'shared/mixins/messageFormatterMixin';
import { useMessageFormatter } from 'shared/composables/useMessageFormatter';
import Thumbnail from 'dashboard/components/widgets/Thumbnail.vue';
import { useConfig } from 'widget/composables/useConfig';
import { isEmptyObject } from 'widget/helpers/utils';
@@ -32,10 +32,12 @@ export default {
},
setup() {
const { useInboxAvatarForBot, inboxAvatarUrl, channelConfig } = useConfig();
const { formatMessage } = useMessageFormatter();
return {
useInboxAvatarForBot,
inboxAvatarUrl,
channelConfig,
formatMessage,
};
},
computed: {