fix(12-02): replace removed Scan() import with ScanAllLibraries()

Scan() wrapper was deleted in Phase 11 but config-page.ts and
library-manager.ts still imported it. Use ScanAllLibraries() for
soft scan since multi-library model scans all libraries.
This commit is contained in:
2026-03-13 08:27:47 -04:00
parent e199712a56
commit 05598224e4
2 changed files with 2 additions and 4 deletions
@@ -3,7 +3,6 @@ import { customElement, state } from 'lit/decorators.js';
import { repeat } from 'lit/directives/repeat.js';
import { EventsOn } from '@runtime/runtime';
import {
Scan,
FullRescan,
CancelCurrentScan,
CancelAllScans,
@@ -1427,7 +1426,7 @@ export class ConfigPage extends LitElement {
private handleSoftScan = async (): Promise<void> => {
try {
await Scan();
await ScanAllLibraries();
} catch (err) {
this.statusMessage =
'Scan completed with errors.';
@@ -2,7 +2,6 @@ import { LitElement, html, css, nothing } from 'lit';
import { customElement, state } from 'lit/decorators.js';
import { EventsOn } from '@runtime/runtime';
import {
Scan,
FullRescan,
ScanAllLibraries,
} from '@go/library/Library';
@@ -812,7 +811,7 @@ export class LibraryManager extends LitElement {
private handleSoftScan = async (): Promise<void> => {
try {
await Scan();
await ScanAllLibraries();
} catch (err) {
this.statusMessage =
'Scan completed with errors.';