frontend-plugin-api: plugins now have pluginId

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2026-01-26 17:41:02 +01:00
parent 467aa1d58d
commit 53b6549c85
12 changed files with 48 additions and 12 deletions
@@ -40,7 +40,11 @@ function AppErrorItem(props: { error: AppError }): JSX.Element {
useEffect(() => {
plugin?.info().then(setInfo, error => {
// eslint-disable-next-line no-console
console.error(`Failed to load info for plugin ${plugin.id}: ${error}`);
console.error(
`Failed to load info for plugin ${
plugin.pluginId ?? plugin.id
}: ${error}`,
);
});
}, [plugin]);