Skip to content

Commit

Permalink
* display also not available catalogs for managers in catalog filter
Browse files Browse the repository at this point in the history
  • Loading branch information
CalamityC committed Nov 26, 2024
1 parent cde2c42 commit 16b4edb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const ProjectFilters = ({ catalogs, config, configActions, isManager, projectsAc
projectsActions.fetchProjects()
}

const catalogOptions = catalogs?.filter(catalog => catalog.available)
const catalogOptions = catalogs?.filter(catalog => isManager || catalog.available)
.map(catalog => ({ value: catalog.id.toString(), label: catalog.title }))
const selectedCatalog = get(config, 'params.catalog', '')
const updateCatalogFilter = (value) => {
Expand Down

0 comments on commit 16b4edb

Please sign in to comment.