Merge pull request #14176 from GLundh/fix-catalog

Catalog: Fixes issue where the query kind parameter is not honored
This commit is contained in:
Fredrik Adelöw
2022-10-18 10:21:37 +01:00
committed by GitHub
2 changed files with 6 additions and 4 deletions
@@ -154,10 +154,7 @@ export const EntityKindPicker = (props: EntityKindPickerProps) => {
severity: 'error',
});
}
if (initialFilter) {
setSelectedKind(initialFilter);
}
}, [error, alertApi, initialFilter, setSelectedKind]);
}, [error, alertApi]);
if (availableKinds?.length === 0 || error) return null;