Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: remove duplicated keyboard events from NcButton components
Signed-off-by: Maksim Sukharev <[email protected]>
  • Loading branch information
Antreesy committed Aug 21, 2024
commit 041417f9bf2cccd1ea5670410efafcb44e1e6240
3 changes: 1 addition & 2 deletions src/PublicShareAuthRequestPasswordButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
type="primary"
:wide="true"
:disabled="isRequestInProgress"
@click="requestPassword"
@keydown.enter="requestPassword">
@click="requestPassword">
{{ t('spreed', 'Request password') }}
</NcButton>
</div>
Expand Down
6 changes: 2 additions & 4 deletions src/components/ConversationSettings/LinkShareSettings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,15 @@

<div class="app-settings-subsection__buttons">
<NcButton ref="copyLinkButton"
@click="handleCopyLink"
@keydown.enter="handleCopyLink">
@click="handleCopyLink">
<template #icon>
<ClipboardTextOutline />
</template>
{{ t('spreed', 'Copy conversation link') }}
</NcButton>
<NcButton v-if="isSharedPublicly && canModerate"
:disabled="isSendingInvitations"
@click="handleResendInvitations"
@keydown.enter="handleResendInvitations">
@click="handleResendInvitations">
<template #icon>
<Email />
</template>
Expand Down