From 3d678446a5ac5b07c0d7742f4d1d9abace7fe5e5 Mon Sep 17 00:00:00 2001 From: DorraJaouad Date: Thu, 4 Apr 2024 15:10:10 +0200 Subject: [PATCH] chore: intend to put v-bind in lower position to main the current attribute selection in vue 2 (individual attributes are always selected over those in v-bind). In vue 3, it depends on the order. Signed-off-by: DorraJaouad --- .../PromotedView.vue | 54 ------------------- .../BreakoutRoomsEditor.vue | 3 +- src/components/CallView/CallView.vue | 2 +- src/components/CallView/shared/VideoVue.vue | 6 +-- .../MessagesGroup/Message/Message.vue | 8 +-- .../Message/MessagePart/FilePreview.vue | 2 +- .../Message/MessagePart/MessageBody.vue | 4 +- .../MessagesGroup/MessagesGroup.vue | 4 +- .../MessagesGroup/MessagesSystemGroup.vue | 8 +-- .../NewMessage/NewMessageUploadEditor.vue | 2 +- src/components/TopBar/TopBarMenu.vue | 3 +- src/components/UIShared/TransitionWrapper.vue | 4 +- 12 files changed, 22 insertions(+), 78 deletions(-) delete mode 100644 src/assets/missingMaterialDesignIcons/PromotedView.vue diff --git a/src/assets/missingMaterialDesignIcons/PromotedView.vue b/src/assets/missingMaterialDesignIcons/PromotedView.vue deleted file mode 100644 index 88ee61cdc09..00000000000 --- a/src/assets/missingMaterialDesignIcons/PromotedView.vue +++ /dev/null @@ -1,54 +0,0 @@ - - - diff --git a/src/components/BreakoutRoomsEditor/BreakoutRoomsEditor.vue b/src/components/BreakoutRoomsEditor/BreakoutRoomsEditor.vue index ce77c63897d..48997669f04 100644 --- a/src/components/BreakoutRoomsEditor/BreakoutRoomsEditor.vue +++ b/src/components/BreakoutRoomsEditor/BreakoutRoomsEditor.vue @@ -20,8 +20,7 @@ --> diff --git a/src/components/MessagesList/MessagesGroup/Message/Message.vue b/src/components/MessagesList/MessagesGroup/Message/Message.vue index da01bd5bc71..9977fbd5163 100644 --- a/src/components/MessagesList/MessagesGroup/Message/Message.vue +++ b/src/components/MessagesList/MessagesGroup/Message/Message.vue @@ -36,10 +36,10 @@ 'system' : isSystemMessage, 'combined-system': isCombinedSystemMessage}" class="message-body"> - + :has-call="conversation.hasCall" + v-bind="{...$props, ...readInfoProps}" /> + show-as-button + v-bind="messageParameters.poll" /> diff --git a/src/components/MessagesList/MessagesGroup/MessagesGroup.vue b/src/components/MessagesList/MessagesGroup/MessagesGroup.vue index 65eec24509d..f6a0c84c236 100644 --- a/src/components/MessagesList/MessagesGroup/MessagesGroup.vue +++ b/src/components/MessagesList/MessagesGroup/MessagesGroup.vue @@ -38,13 +38,13 @@ + :actor-id="actorId" + v-bind="message" /> diff --git a/src/components/MessagesList/MessagesGroup/MessagesSystemGroup.vue b/src/components/MessagesList/MessagesGroup/MessagesSystemGroup.vue index ad424e560a3..96dbfaebc6a 100644 --- a/src/components/MessagesList/MessagesGroup/MessagesSystemGroup.vue +++ b/src/components/MessagesList/MessagesGroup/MessagesSystemGroup.vue @@ -26,13 +26,13 @@ class="messages-group__system">
    -
    + :previous-message-id="getPrevMessageId(message)" + v-bind="message" />
diff --git a/src/components/NewMessage/NewMessageUploadEditor.vue b/src/components/NewMessage/NewMessageUploadEditor.vue index bae56bed56d..2b2c56c1f8b 100644 --- a/src/components/NewMessage/NewMessageUploadEditor.vue +++ b/src/components/NewMessage/NewMessageUploadEditor.vue @@ -46,8 +46,8 @@