-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add links to votable arbitrator election ballot(s) #312
Conversation
✅ Deploy Preview for telos-app-native-staging ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@@ -29,10 +29,18 @@ | |||
<q-td key="ballot_name" class="ballot_name"> | |||
<div class="info"> | |||
<div class="ballot-name"> | |||
<a v-if="props.row.ballot_name" :href="`/trails/ballot/${props.row.ballot_name}`"> | |||
{{ | |||
props.row.ballot_name || |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
props.row.ballot_name || | |
props.row.ballot_name |
a tag is only displayed if props.row.ballot_name
exists so no need for condition
@@ -29,10 +29,18 @@ | |||
<q-td key="ballot_name" class="ballot_name"> | |||
<div class="info"> | |||
<div class="ballot-name"> | |||
<a v-if="props.row.ballot_name" :href="`/trails/ballot/${props.row.ballot_name}`"> | |||
{{ | |||
props.row.ballot_name || | |||
`${props.row.election_id}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
`${props.row.election_id}` |
see previous suggestion, will never reach condition
</a> | ||
<span v-else> | ||
{{ | ||
props.row.ballot_name || |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
props.row.ballot_name || |
unnec condition, will display link if exists
Closing because arbitration is being put on hold for now |
Fixes #310
Description
Simply added a clickable link to
/trails/ballot/{ballot_name}
Test scenarios
Connected to testnet where there are elections and made sure the links worked
Checklist: