1
Fork 0
mirror of https://github.com/thegeneralist01/archivr synced 2026-10-09 12:55:00 +02:00
archivr/frontend
archivr-qa 9b2ecb8d7b
fix: guard detailMatchesSelection against null detail/selectedEntry
When both detail and selectedEntry are null (initial render or mid-navigation
while a detail fetch is in flight), detail?.summary?.entry_uid and
selectedEntry?.entry_uid both evaluate to undefined, making the equality
true and causing a crash on detail.latest_summary.

Add selectedEntry?.entry_uid != null guard so the condition short-circuits
false whenever there is no real selection.
2026-08-28 20:25:41 +02:00
..
.storybook feat(ui): add Storybook design system refinements 2026-06-28 21:01:50 +02:00
public chore: add brand identity, style guide, and favicon (#35) 2026-07-25 15:31:25 +02:00
src fix: guard detailMatchesSelection against null detail/selectedEntry 2026-08-28 20:25:41 +02:00
bun.lock feat(ui): add Storybook design system refinements 2026-06-28 21:01:50 +02:00
index.html chore: add brand identity, style guide, and favicon (#35) 2026-07-25 15:31:25 +02:00
package.json feat(ui): add Storybook design system refinements 2026-06-28 21:01:50 +02:00
vite.config.js feat(ui): add Storybook design system refinements 2026-06-28 21:01:50 +02:00