Skip to content

Commit 9ab20bd

Browse files
authored
Merge pull request #3912 from nextcloud/fix/dashboard-links
fix dashboard links
2 parents d65d488 + 47c978a commit 9ab20bd

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/views/Dashboard.vue

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,6 @@
2626
2727
const pollsStore = usePollsStore()
2828
29-
/**
30-
*
31-
* @param {object} poll - The poll object
32-
*/
33-
function pollLink(poll) {
34-
generateUrl(`/apps/polls/vote/${poll.id}`)
35-
}
36-
3729
/**
3830
* Load the polls
3931
*/
@@ -62,7 +54,7 @@
6254
</template>
6355

6456
<template #default="{ item }">
65-
<a :href="pollLink(item)">
57+
<a :href="generateUrl(`/apps/polls/vote/${item.id}`)">
6658
<div class="poll-item__item">
6759
<div class="item__icon-spacer">
6860
<TextPollIcon v-if="item.type === PollType.Text" />

0 commit comments

Comments
 (0)