diff --git a/src/components/chat/ChatEditor.vue b/src/components/chat/ChatEditor.vue index 20d439f..e30a6dc 100644 --- a/src/components/chat/ChatEditor.vue +++ b/src/components/chat/ChatEditor.vue @@ -86,8 +86,8 @@ import { reactive, ref, watch } from "vue" import { request } from "@/scripts/request" import { getAtk } from "@/stores/userinfo" import { useChannels } from "@/stores/channels" -import Attachments from "@/components/chat/parts/Attachments.vue" -import Media from "@/components/publish/parts/Media.vue" +import Attachments from "@/components/chat/parts/ChatAttachments.vue" +import Media from "@/components/publish/parts/PublishMedia.vue" const emits = defineEmits(["sent"]) diff --git a/src/components/chat/parts/Attachments.vue b/src/components/chat/parts/ChatAttachments.vue similarity index 100% rename from src/components/chat/parts/Attachments.vue rename to src/components/chat/parts/ChatAttachments.vue diff --git a/src/components/chat/renderer/MessageAttachment.vue b/src/components/chat/renderer/MessageAttachment.vue index 8d10dde..775af64 100644 --- a/src/components/chat/renderer/MessageAttachment.vue +++ b/src/components/chat/renderer/MessageAttachment.vue @@ -3,59 +3,60 @@ Attached {{ props.attachments.length }} attachment(s) - - - - - - -
+ + + + + +
+
+

{{ getFileName(item) }}

-
-
-

{{ item.filename }}

- Download -
+
+
+
+

{{ getFileName(item) }}

+ Download
- - +
+ + - - - - - + + + +