Add support for multiple projects per manager

- Handled like roles in admin view
- !! NEW COLUMN CHANGED TO "projects"
This commit is contained in:
Christoph Kluge
2023-02-17 15:45:31 +01:00
parent a2ebebd7f6
commit 397ab08b3b
27 changed files with 354 additions and 170 deletions

View File

@@ -14,7 +14,7 @@
const ccconfig = getContext('cc-config')
export let filterPresets = {}
export let project = ""
export let projects = []
export let isManager = false
let filters, jobList, matchedJobs = null
@@ -72,7 +72,7 @@
<Row>
<Col>
<JobList
project={project}
projects={projects}
isManager={isManager}
bind:metrics={metrics}
bind:sorting={sorting}