diff --git a/src/components/CallView/Grid/Grid.vue b/src/components/CallView/Grid/Grid.vue index 1fad55e3b81..ff7d910c550 100644 --- a/src/components/CallView/Grid/Grid.vue +++ b/src/components/CallView/Grid/Grid.vue @@ -438,7 +438,7 @@ export default { // Hides or displays the `grid-navigation next` button hasNextPage() { if (this.displayedVideos.length !== 0 && this.hasPagination) { - return this.displayedVideos[this.displayedVideos.length - 1] !== this.videos[this.videos.length - 1] + return this.displayedVideos.at(-1) !== this.videos.at(-1) } else { return false } diff --git a/src/components/CallView/shared/EmptyCallView.vue b/src/components/CallView/shared/EmptyCallView.vue index a495ff9c6f2..4424af2c8ab 100644 --- a/src/components/CallView/shared/EmptyCallView.vue +++ b/src/components/CallView/shared/EmptyCallView.vue @@ -32,7 +32,7 @@

+ @click.stop="handleCopyLink"> {{ t('spreed', 'Copy link') }} diff --git a/src/components/ConversationSettings/DangerZone.vue b/src/components/ConversationSettings/DangerZone.vue index a831ddadfff..20dd8d2d7b8 100644 --- a/src/components/ConversationSettings/DangerZone.vue +++ b/src/components/ConversationSettings/DangerZone.vue @@ -32,7 +32,7 @@

{{ t('spreed', 'Once a conversation is left, to rejoin a closed conversation, an invite is needed. An open conversation can be rejoined at any time.') }}

- + {{ t('spreed', 'Leave conversation') }} @@ -44,7 +44,7 @@ {{ t('spreed', 'Permanently delete this conversation.') }}

+ @click="deleteConversation"> {{ t('spreed', 'Delete conversation') }} @@ -56,7 +56,7 @@ {{ t('spreed', 'Permanently delete all the messages in this conversation.') }}

+ @click="clearChatHistory"> {{ t('spreed', 'Delete chat messages') }} diff --git a/src/components/ConversationSettings/ExpirationSettings.vue b/src/components/ConversationSettings/ExpirationSettings.vue index 0802ff35906..514e4beae78 100644 --- a/src/components/ConversationSettings/ExpirationSettings.vue +++ b/src/components/ConversationSettings/ExpirationSettings.vue @@ -100,7 +100,7 @@ export default { return option } - return this.expirationOptions[this.expirationOptions.length - 1] + return this.expirationOptions.at(-1) }, }, diff --git a/src/components/ConversationSettings/LinkShareSettings.vue b/src/components/ConversationSettings/LinkShareSettings.vue index c31c7e337c4..a891f3f7166 100644 --- a/src/components/ConversationSettings/LinkShareSettings.vue +++ b/src/components/ConversationSettings/LinkShareSettings.vue @@ -68,7 +68,7 @@