Fix VersionHistoryPanel — missing API methodbacklog_item

bugweb-uifrontend
1 min read · Edit on Pyrite

Problem

`VersionHistoryPanel.svelte` calls `api.getEntryVersions()` which is not defined in `client.ts`. Opening the version history panel on any entry will throw a runtime error.

Solution

Either: 1. Add `getEntryVersions(id)` to the API client (if the backend endpoint exists) 2. Or hide/disable the version history panel until the endpoint is ready