added new field indicator

This commit is contained in:
Gani Georgiev
2023-03-23 10:37:38 +02:00
parent 9736a45e80
commit 0710214701
2 changed files with 16 additions and 2 deletions
@@ -116,8 +116,11 @@
name="schema.{key}.name"
inlineError
>
<!-- svelte-ignore a11y-click-events-have-key-events -->
<div class="form-field-addon prefix no-pointer-events" class:txt-disabled={!interactive}>
<div
class="form-field-addon prefix no-pointer-events field-type-icon"
class:txt-disabled={!interactive}
class:new={!field.id}
>
<i class={CommonHelper.getFieldTypeIcon(field.type)} />
</div>