diff options
author | Marco Ambrosini <marcoambrosini@icloud.com> | 2022-08-26 16:22:13 +0200 |
---|---|---|
committer | Marco Ambrosini <marcoambrosini@icloud.com> | 2022-08-26 16:22:13 +0200 |
commit | 8f45fd68a115df4d9ff6f7edb2f814ddc2e55c43 (patch) | |
tree | f1cb9d04b0ffc0ef6ac4562c318c094df0738268 /src | |
parent | 9361be27390baafa62fda625c00b2ea18dfd2abb (diff) |
Fix buttons
Signed-off-by: Marco Ambrosini <marcoambrosini@icloud.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/components/MessagesList/MessagesGroup/Message/MessagePart/Poll.vue | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/components/MessagesList/MessagesGroup/Message/MessagePart/Poll.vue b/src/components/MessagesList/MessagesGroup/Message/MessagePart/Poll.vue index 8b4d112ab..27fbb86c2 100644 --- a/src/components/MessagesList/MessagesGroup/Message/MessagePart/Poll.vue +++ b/src/components/MessagesList/MessagesGroup/Message/MessagePart/Poll.vue @@ -88,9 +88,15 @@ </div> <div class="poll__modal-actions"> - <!-- create poll button--> + <!-- Submit vote button--> <NcButton type="primary" :disabled="!canSubmitVote" @click="submitVote"> - {{ t('spreed', 'Submit') }} + {{ t('spreed', 'Submit vote') }} + </NcButton> + <!-- End poll button--> + <NcButton v-if="canEndPoll" + type="error" + @click="endPoll"> + {{ t('spreed', 'End poll') }} </NcButton> </div> </template> @@ -134,7 +140,7 @@ @click="modalPage = 'voting'"> {{ t('spreed', 'Change your vote') }} </NcButton> - <!-- create poll button--> + <!-- End poll button--> <NcButton v-if="canEndPoll" type="error" @click="endPoll"> |