mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-22 09:52:50 +00:00
22 lines
590 B
Svelte
22 lines
590 B
Svelte
<div class="table-buttons">
|
|
{#if !chord.deleted}
|
|
<button transition:slide class="icon compact" onclick={remove}
|
|
>delete</button
|
|
>
|
|
{:else}
|
|
<button transition:slide class="icon compact" onclick={restore}
|
|
>restore_from_trash</button
|
|
>
|
|
{/if}
|
|
<button disabled={chord.deleted} class="icon compact" onclick={duplicate}
|
|
>content_copy</button
|
|
>
|
|
<button
|
|
class="icon compact"
|
|
class:disabled={chord.isApplied}
|
|
onclick={restore}>undo</button
|
|
>
|
|
<div class="separator"></div>
|
|
<button class="icon compact" onclick={share}>share</button>
|
|
</div>
|