mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-23 00:00:33 +00:00
fix star hover issue
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
let buttonHover = false
|
||||
|
||||
async function onClick() {
|
||||
buttonHover = false
|
||||
if (starred) {
|
||||
await FavoriteService.unstar({
|
||||
workspace: workspace_id,
|
||||
@@ -48,4 +49,4 @@
|
||||
{:else}
|
||||
<Star size={18} fill={buttonHover ? 'currentcolor' : 'none'} />
|
||||
{/if}
|
||||
</button>
|
||||
</button>
|
||||
|
||||
@@ -320,7 +320,7 @@
|
||||
{:else}
|
||||
<div class="border rounded-md divide-y divide-gray-200">
|
||||
<!-- <VirtualList {items} let:item bind:start bind:end> -->
|
||||
{#each (items ?? []).slice(0, nbDisplayed) as item (item.type + '/' + item.path + (item.summary ?? ''))}
|
||||
{#each (items ?? []).slice(0, nbDisplayed) as item (item.type + '/' + item.path)}
|
||||
{#if item.type == 'script'}
|
||||
<ScriptRow
|
||||
bind:deleteConfirmedCallback
|
||||
|
||||
Reference in New Issue
Block a user