Skip to content

feat: open edit vote in new tab while voting#389

Open
Oyelakin-Mercy wants to merge 1 commit intohatnote:masterfrom
Oyelakin-Mercy:feat/open-edit-vote-in-new-tab
Open

feat: open edit vote in new tab while voting#389
Oyelakin-Mercy wants to merge 1 commit intohatnote:masterfrom
Oyelakin-Mercy:feat/open-edit-vote-in-new-tab

Conversation

@Oyelakin-Mercy
Copy link

Fixes #320
This PR wraps the "edit previous vote" buttons in voting rounds (i.e., when jurors are voting) in anchor tags so jurors can right-click them to open rounds in a new tab.

Changes

  • Wrapped round voting buttons with <a> tags using router.resolve to generate hrefs
  • Added getEditHref() helper function to resolve vote-edit route URLs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

'Edit votes' menu can not be opened in a separate tab

1 participant