fix(12-02): keep Add Library button visible during scan

Add Library is now outside the scanning/not-scanning conditional so
it's always accessible, even while a scan is in progress.
This commit is contained in:
2026-03-14 12:42:15 -04:00
parent df824c6989
commit 649e516aa3
@@ -2280,6 +2280,12 @@ export class ConfigPage extends LitElement {
description="Manage your music library folders. Select libraries to scan." description="Manage your music library folders. Select libraries to scan."
> >
<div class="scan-actions"> <div class="scan-actions">
<button
class="btn-primary"
@click=${this.handleAddLibrary}
>
Add Library
</button>
${this.scanning ${this.scanning
? html` ? html`
${this.scanPaused ${this.scanPaused
@@ -2303,12 +2309,6 @@ export class ConfigPage extends LitElement {
</button> </button>
` `
: html` : html`
<button
class="btn-primary"
@click=${this.handleAddLibrary}
>
Add Library
</button>
<button <button
class="btn-primary" class="btn-primary"
@click=${this.handleSoftScan} @click=${this.handleSoftScan}