We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e3ce7d commit 350db91Copy full SHA for 350db91
ui/src/utils/pluginKit/index.ts
@@ -56,7 +56,8 @@ class Plugins {
56
async init() {
57
this.registerBuiltin();
58
59
- const plugins = await getPluginsStatus().catch(() => []);
+ // Note: The /install stage does not allow access to the getPluginsStatus api, so an initial value needs to be given
60
+ const plugins = (await getPluginsStatus().catch(() => [])) || [];
61
this.registeredPlugins = plugins.filter((p) => p.enabled);
62
await this.registerPlugins();
63
}
@@ -169,6 +170,7 @@ const validateRoutePlugin = async (slugName) => {
169
170
171
const mergeRoutePlugins = async (routes) => {
172
const routePlugins = await getRoutePlugins();
173
+ console.log('routePlugins', routePlugins);
174
if (routePlugins.length === 0) {
175
return routes;
176
0 commit comments