Commit e4839f6
committed
feat(votes): pass committee queryParams on vote edit navigation
Add editQueryParams input to lfx-votes-table and wire [queryParams] onto
the edit routerLink so writerGuard receives project and committee_uid
when a committee manager navigates to edit a draft vote — mirrors the
meetings fix (PR #1025).
- votes-table: add editQueryParams input (defaults to {}; non-breaking
for all existing usages outside committee context)
- votes-table: bind [queryParams]="editQueryParams()" on edit <a>
- committee-votes: add editVoteQueryParams computed signal via
buildCommitteeCreateQueryParams; pass to [editQueryParams] binding
Signed-off-by: Rashad <mrashad@contractor.linuxfoundation.org>1 parent 1b0e903 commit e4839f6
4 files changed
Lines changed: 4 additions & 1 deletion
File tree
- apps/lfx-one/src/app/modules
- committees/components/committee-votes
- votes/components/votes-table
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
| 159 | + | |
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
| |||
0 commit comments