removed the create api rule tooltip

This commit is contained in:
Gani Georgiev
2024-12-12 20:25:44 +02:00
parent 09a24e1de6
commit efe4ef500b
29 changed files with 115 additions and 127 deletions
@@ -85,19 +85,7 @@
<RuleField label="View rule" formKey="viewRule" {collection} bind:rule={collection.viewRule} />
{#if collection?.type !== "view"}
<RuleField label="Create rule" formKey="createRule" {collection} bind:rule={collection.createRule}>
<svelte:fragment slot="afterLabel" let:isSuperuserOnly>
{#if !isSuperuserOnly}
<i
class="ri-information-line link-hint"
use:tooltip={{
text: `The Create rule is executed after a "dry save" of the submitted data, giving you access to the main record fields as in every other rule.`,
position: "top",
}}
/>
{/if}
</svelte:fragment>
</RuleField>
<RuleField label="Create rule" formKey="createRule" {collection} bind:rule={collection.createRule} />
<RuleField label="Update rule" formKey="updateRule" {collection} bind:rule={collection.updateRule} />