Modules/api: export constraints, filter by inventory

This commit is contained in:
Johannes Kirschbauer
2024-11-19 10:36:29 +01:00
parent cfe9dbf117
commit 3a46119722
3 changed files with 18 additions and 3 deletions

View File

@@ -28,7 +28,9 @@ const ModuleListItem = (props: { name: string; info: ModuleInfo }) => {
};
export const ModuleList = () => {
const modulesQuery = createModulesQuery(activeURI());
const modulesQuery = createModulesQuery(activeURI(), {
features: ["inventory"],
});
return (
<Switch fallback="Shit">
<Match when={modulesQuery.isLoading}>Loading....</Match>