Fix monitoring and removal: restore artist list OOB, improve feed reload script
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user