fix(webui): "Groups" label in Inspect column
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
parent
b47b87629e
commit
b2a25520e4
|
@ -5,6 +5,7 @@
|
||||||
import type { UpObject } from "@upnd/upend";
|
import type { UpObject } from "@upnd/upend";
|
||||||
import type { Readable } from "svelte/store";
|
import type { Readable } from "svelte/store";
|
||||||
import EntitySetEditor from "./EntitySetEditor.svelte";
|
import EntitySetEditor from "./EntitySetEditor.svelte";
|
||||||
|
import { i18n } from "../i18n";
|
||||||
const dispatch = createEventDispatcher();
|
const dispatch = createEventDispatcher();
|
||||||
|
|
||||||
export let entity: Readable<UpObject>;
|
export let entity: Readable<UpObject>;
|
||||||
|
@ -35,6 +36,7 @@
|
||||||
|
|
||||||
<EntitySetEditor
|
<EntitySetEditor
|
||||||
entities={Object.keys(groups)}
|
entities={Object.keys(groups)}
|
||||||
|
header={$i18n.t("Groups")}
|
||||||
hide={Object.keys(groups).length === 0}
|
hide={Object.keys(groups).length === 0}
|
||||||
on:add={(e) => addGroup(e.detail)}
|
on:add={(e) => addGroup(e.detail)}
|
||||||
on:remove={(e) => removeGroup(e.detail)}
|
on:remove={(e) => removeGroup(e.detail)}
|
||||||
|
|
Loading…
Reference in New Issue