fix(webui): "Groups" label in Inspect column
ci/woodpecker/push/woodpecker Pipeline was successful Details

feat/vault-scan-modes
Tomáš Mládek 2023-10-23 20:45:46 +02:00
parent b47b87629e
commit b2a25520e4
1 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,7 @@
import type { UpObject } from "@upnd/upend";
import type { Readable } from "svelte/store";
import EntitySetEditor from "./EntitySetEditor.svelte";
import { i18n } from "../i18n";
const dispatch = createEventDispatcher();
export let entity: Readable<UpObject>;
@ -35,6 +36,7 @@
<EntitySetEditor
entities={Object.keys(groups)}
header={$i18n.t("Groups")}
hide={Object.keys(groups).length === 0}
on:add={(e) => addGroup(e.detail)}
on:remove={(e) => removeGroup(e.detail)}