From 2d3838e3300cb589ff8ab77d8cc336194e51be4d 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/Screen.vue | 8 +-- 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 +- 13 files changed, 26 insertions(+), 82 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 88ee61cdc098..000000000000 --- 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 ce77c63897dd..48997669f043 100644 --- a/src/components/BreakoutRoomsEditor/BreakoutRoomsEditor.vue +++ b/src/components/BreakoutRoomsEditor/BreakoutRoomsEditor.vue @@ -20,8 +20,7 @@ --> diff --git a/src/components/CallView/shared/VideoVue.vue b/src/components/CallView/shared/VideoVue.vue index e41203c56c9e..924473d658e4 100644 --- a/src/components/CallView/shared/VideoVue.vue +++ b/src/components/CallView/shared/VideoVue.vue @@ -80,9 +80,9 @@ {{ connectionMessage }} - + diff --git a/src/components/MessagesList/MessagesGroup/Message/Message.vue b/src/components/MessagesList/MessagesGroup/Message/Message.vue index a61e4c569133..008456bf9309 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 65eec24509d9..f6a0c84c2362 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 ad424e560a30..96dbfaebc6ae 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 bae56bed56d5..2b2c56c1f8b7 100644 --- a/src/components/NewMessage/NewMessageUploadEditor.vue +++ b/src/components/NewMessage/NewMessageUploadEditor.vue @@ -46,8 +46,8 @@