diff --git a/packages/frontend/src/components/MkPoll.vue b/packages/frontend/src/components/MkPoll.vue index 86d6017b4..0eb456ef2 100644 --- a/packages/frontend/src/components/MkPoll.vue +++ b/packages/frontend/src/components/MkPoll.vue @@ -22,8 +22,8 @@ SPDX-License-Identifier: AGPL-3.0-only {{ i18n.ts._poll.voted }} {{ i18n.ts._poll.closed }} · {{ timer }} - · - {{ i18n.ts.reload }} + · + {{ i18n.ts.reload }}

@@ -98,9 +98,9 @@ const vote = async (id) => { }; const refreshVotes = async () => { - pleaseLogin(undefined, pleaseLoginContext.value); + pleaseLogin(); - if (props.readOnly || closed.value) return; + if (props.readOnly) return; await misskeyApi('notes/polls/refresh', { noteId: props.noteId, // Sadly due to being in the same component and the poll being a prop we require to break Vue's recommendation of not mutating the prop to update it.