File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed
backend/fixtures/development Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 7878 " deputy_board_member"
7979 ],
8080 "accepts_admissions" : false
81+ },
82+ {
83+ "_id" : 11 ,
84+ "name" : " Lovutvalget" ,
85+ "slug" : " lovutvalget" ,
86+ "access_roles" : [
87+ " deputy_leader" ,
88+ " cashier" ,
89+ " board_member" ,
90+ " deputy_board_member"
91+ ],
92+ "accepts_admissions" : true
8193 }
8294]
Original file line number Diff line number Diff line change @@ -142,11 +142,11 @@ function AdmissionStatus() {
142142 committee . slug !== 'valgkomiteen' && committee . slug !== 'hovedstyret'
143143 )
144144 } )
145- // Election committee can see main board
145+ // Election committee can see main board and the law committee
146146 } else if ( locationState . isElectionCommittee ) {
147147 allCommittees = await getAllCommittees ( )
148148 allCommittees = allCommittees . filter ( ( committee : ICommittee ) => {
149- return committee . slug === 'hovedstyret'
149+ return committee . slug === 'hovedstyret' || committee . slug === 'lovutvalget'
150150 } )
151151 // Include the users other committees
152152 const committeesRes = await getUserCommittees ( )
You can’t perform that action at this time.
0 commit comments