chore(harness): drop dead selectedFeedId read
This commit is contained in:
@@ -595,9 +595,7 @@ async function snapshotState(audioControls: any): Promise<Record<string, unknown
|
|||||||
const feeds = fs_.feeds ? fs_.feeds() : [];
|
const feeds = fs_.feeds ? fs_.feeds() : [];
|
||||||
state.feed = {
|
state.feed = {
|
||||||
count: feeds?.length ?? 0,
|
count: feeds?.length ?? 0,
|
||||||
sel: fs_.selectedFeedId ? fs_.selectedFeedId() : null,
|
|
||||||
loading: fs_.isLoadingFeeds ? fs_.isLoadingFeeds() : null,
|
loading: fs_.isLoadingFeeds ? fs_.isLoadingFeeds() : null,
|
||||||
titles: (feeds ?? []).slice(0, 8).map((f: any) => f?.podcast?.title),
|
|
||||||
};
|
};
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
state.feed = "ERR: " + String(e);
|
state.feed = "ERR: " + String(e);
|
||||||
|
|||||||
Reference in New Issue
Block a user