Create a branch cabinet/<name> and PR to merge into cabinet/main
Currently, this section uses mock data:
We need to add logic to changes to src/routes/assemblies/[id]/+page.server.ts to provide correct data to the UI (without changing both variable's types).
changes should be created from politicians variable by filtering their assemblyRoles that match the current (cabinet) assembly.
latestBills just filter by proposedByAssemblyId that matches the current (cabinet) assembly.
Create a branch
cabinet/<name>
and PR to merge intocabinet/main
Currently, this section uses mock data:
We need to add logic to
changes
tosrc/routes/assemblies/[id]/+page.server.ts
to provide correct data to the UI (without changing both variable's types).changes
should be created frompoliticians
variable by filtering theirassemblyRoles
that match the current (cabinet) assembly.latestBills
just filter byproposedByAssemblyId
that matches the current (cabinet) assembly.