fix: added remove chart button
This commit is contained in:
parent
0f06715d0c
commit
139bcb101c
@ -31,6 +31,15 @@
|
||||
:editing="editing"
|
||||
/>
|
||||
</div>
|
||||
<div
|
||||
v-if="editing"
|
||||
class="absolute right-0 top-0 bg-surface-red-4 border border-outline-red-2 rounded cursor-pointer opacity-0 group-hover:opacity-100"
|
||||
@click="items.splice(index, 1)"
|
||||
>
|
||||
<div class="rounded p-1 hover:bg-surface-red-3">
|
||||
<FeatherIcon name="trash-2" class="size-3 text-ink-red-4" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
</GridLayout>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user