updated cascade delete tooltip

This commit is contained in:
Gani Georgiev 2023-04-17 16:33:26 +03:00
parent c179b4c473
commit d11cec2226
1 changed files with 4 additions and 2 deletions

View File

@ -6,7 +6,7 @@
import ObjectSelect from "@/components/base/ObjectSelect.svelte"; import ObjectSelect from "@/components/base/ObjectSelect.svelte";
import CollectionUpsertPanel from "@/components/collections/CollectionUpsertPanel.svelte"; import CollectionUpsertPanel from "@/components/collections/CollectionUpsertPanel.svelte";
import SchemaField from "@/components/collections/schema/SchemaField.svelte"; import SchemaField from "@/components/collections/schema/SchemaField.svelte";
import { collections } from "@/stores/collections"; import { collections, activeCollection } from "@/stores/collections";
export let field; export let field;
export let key = ""; export let key = "";
@ -207,7 +207,9 @@
use:tooltip={{ use:tooltip={{
text: `Whether on ${ text: `Whether on ${
selectedColection?.name || "relation" selectedColection?.name || "relation"
} record deletion to delete also its relation field associated records.`, } record deletion to delete also the ${
$activeCollection?.name || "field"
} associated records.`,
position: "top", position: "top",
}} }}
/> />