diff --git a/main/manager-web/src/components/DeviceItem.vue b/main/manager-web/src/components/DeviceItem.vue
index 87a82687..8ebcf1f5 100644
--- a/main/manager-web/src/components/DeviceItem.vue
+++ b/main/manager-web/src/components/DeviceItem.vue
@@ -33,7 +33,7 @@
-
+
{{ $t('home.chatHistory') }}
{{ $t('home.chatHistory') }}
@@ -41,11 +41,11 @@
{{ $t('home.lastConversation') }}:{{ formattedLastConnectedTime }}
-
@@ -114,25 +114,6 @@ export default {
this.$emit('chat-history', { agentId: this.device.agentId, agentName: this.device.agentName })
}
},
- watch: {
- tags: {
- handler(newTags) {
- if (newTags.length === 0) return;
- this.$nextTick(() => {
- const scrollWidth = this.$refs.scrollRef.clientWidth;
- const tagsWidth = this.$refs.tagsRef.clientWidth;
- if (tagsWidth < scrollWidth) {
- this.$refs.tagsRef.style.width = '100%';
- this.$refs.tagsRef.style.justifyContent = 'flex-end';
- } else {
- this.$refs.tagsRef.style.width = 'fit-content';
- this.$refs.tagsRef.style.justifyContent = 'flex-start';
- }
- })
- },
- immediate: true
- }
- }
}