Commit dbec24b
committed
Enhance VoteButton functionality to manage proposals on ballots
- Introduced logic to determine if a proposal is already on any ballot, improving user interaction.
- Updated button text dynamically based on proposal status, enhancing clarity for users managing proposals.1 parent ad05899 commit dbec24b
File tree
1 file changed
+12
-1
lines changed- src/components/pages/wallet/governance/proposal
1 file changed
+12
-1
lines changedLines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
64 | 75 | | |
65 | 76 | | |
66 | 77 | | |
| |||
360 | 371 | | |
361 | 372 | | |
362 | 373 | | |
363 | | - | |
| 374 | + | |
364 | 375 | | |
365 | 376 | | |
366 | 377 | | |
| |||
0 commit comments