Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Ambrosini <marcoambrosini@icloud.com>2022-08-26 11:57:21 +0300
committerMarco Ambrosini <marcoambrosini@icloud.com>2022-08-26 11:57:32 +0300
commitf5587583e267bc5080b51059a789325d76ef1b16 (patch)
treec98e65d552426618f72864fdb9e5bb20ff0e57c5 /src/components
parent55171c66abb520a2b776edf26094a0b7419143f1 (diff)
Remove dismiss button
Signed-off-by: Marco Ambrosini <marcoambrosini@icloud.com>
Diffstat (limited to 'src/components')
-rw-r--r--src/components/MessagesList/MessagesGroup/Message/MessagePart/Poll.vue10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/components/MessagesList/MessagesGroup/Message/MessagePart/Poll.vue b/src/components/MessagesList/MessagesGroup/Message/MessagePart/Poll.vue
index fef910d05..6146ba925 100644
--- a/src/components/MessagesList/MessagesGroup/Message/MessagePart/Poll.vue
+++ b/src/components/MessagesList/MessagesGroup/Message/MessagePart/Poll.vue
@@ -41,7 +41,7 @@
<!-- voting and results dialog -->
<NcModal v-if="vote !== undefined && showModal"
size="small"
- @close="showModal = false">
+ @close="dismissModal">
<div class="poll__modal">
<!-- First screen, displayed while voting-->
<template v-if="modalPage === 'voting'">
@@ -79,9 +79,6 @@
</div>
<div class="poll__modal-actions">
- <NcButton type="secondary" @click="dismissModal">
- {{ t('spreed', 'Dismiss') }}
- </NcButton>
<!-- create poll button-->
<NcButton type="primary" :disabled="!canSubmitVote" @click="submitVote">
{{ t('spreed', 'Submit') }}
@@ -118,11 +115,6 @@
</div>
<div v-if="pollIsOpen"
class="poll__modal-actions">
- <!-- Dismiss -->
- <NcButton type="secondary"
- @click="dismissModal">
- {{ t('spreed', 'Dismiss') }}
- </NcButton>
<!-- Vote again-->
<NcButton type="secondary"
@click="modalPage = 'voting'">