diff options
author | Joas Schilling <coding@schilljs.com> | 2022-03-17 14:21:21 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-03-21 14:08:28 +0300 |
commit | 022be5a31ed6910fd4e1c34c2f02431cf479a55c (patch) | |
tree | b6df870c0afa385f12a9f2ecc1233271bae63f3e /src/components/MessagesList | |
parent | 28693f2e9286f768978c3150f28a6ff7e8de005a (diff) |
Fix MessageButtonsBar test
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'src/components/MessagesList')
2 files changed, 2 insertions, 1 deletions
diff --git a/src/components/MessagesList/MessagesGroup/Message/MessageButtonsBar/MessageButtonsBar.spec.js b/src/components/MessagesList/MessagesGroup/Message/MessageButtonsBar/MessageButtonsBar.spec.js index d14ba74b9..33721a429 100644 --- a/src/components/MessagesList/MessagesGroup/Message/MessageButtonsBar/MessageButtonsBar.spec.js +++ b/src/components/MessagesList/MessagesGroup/Message/MessageButtonsBar/MessageButtonsBar.spec.js @@ -102,7 +102,7 @@ describe('MessageButtonsBar.vue', () => { systemMessage: '', timestamp: new Date('2020-05-07 09:23:00').getTime() / 1000, token: TOKEN, - previousMessageId: 12, + previousMessageId: 100, }) }) diff --git a/src/components/MessagesList/MessagesGroup/Message/MessageButtonsBar/MessageButtonsBar.vue b/src/components/MessagesList/MessagesGroup/Message/MessageButtonsBar/MessageButtonsBar.vue index cc73f1e59..6daa33ff0 100644 --- a/src/components/MessagesList/MessagesGroup/Message/MessageButtonsBar/MessageButtonsBar.vue +++ b/src/components/MessagesList/MessagesGroup/Message/MessageButtonsBar/MessageButtonsBar.vue @@ -355,6 +355,7 @@ export default { message: this.message, messageParameters: this.messageParameters, token: this.token, + previousMessageId: this.previousMessageId, }) EventBus.$emit('focus-chat-input') }, |