Fix monitoring and removal: restore artist list OOB, improve feed reload script

This commit is contained in:
2026-07-06 16:03:25 +02:00
parent ab9e686b9f
commit aab948ae08
2 changed files with 13 additions and 13 deletions
@@ -34,7 +34,7 @@
<input type="checkbox" class="checkbox checkbox-xs checkbox-primary"
{#if artist.albumMonitored}checked{/if}
hx-patch="/api/artists/{artist.mbid}/monitor?type=album"
hx-target="#feed-entries"
hx-target="#artist-list"
hx-swap="innerHTML">
<span class="label-text text-xs" style="color:var(--p)">Album</span>
</label>
@@ -42,7 +42,7 @@
<input type="checkbox" class="checkbox checkbox-xs checkbox-secondary"
{#if artist.singleMonitored}checked{/if}
hx-patch="/api/artists/{artist.mbid}/monitor?type=single"
hx-target="#feed-entries"
hx-target="#artist-list"
hx-swap="innerHTML">
<span class="label-text text-xs" style="color:var(--s)">Single</span>
</label>
@@ -50,7 +50,7 @@
<input type="checkbox" class="checkbox checkbox-xs checkbox-accent"
{#if artist.epMonitored}checked{/if}
hx-patch="/api/artists/{artist.mbid}/monitor?type=ep"
hx-target="#feed-entries"
hx-target="#artist-list"
hx-swap="innerHTML">
<span class="label-text text-xs" style="color:var(--a)">EP</span>
</label>
@@ -58,7 +58,7 @@
<input type="checkbox" class="checkbox checkbox-xs"
{#if artist.broadcastMonitored}checked{/if}
hx-patch="/api/artists/{artist.mbid}/monitor?type=broadcast"
hx-target="#feed-entries"
hx-target="#artist-list"
hx-swap="innerHTML">
<span class="label-text text-xs text-base-content/60">Broadcast</span>
</label>
@@ -66,7 +66,7 @@
<input type="checkbox" class="checkbox checkbox-xs"
{#if artist.otherMonitored}checked{/if}
hx-patch="/api/artists/{artist.mbid}/monitor?type=other"
hx-target="#feed-entries"
hx-target="#artist-list"
hx-swap="innerHTML">
<span class="label-text text-xs text-base-content/60">Other</span>
</label>