From 02357ca02325b4140130e1d92860fa46cd0b2245 Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Fri, 10 Mar 2023 13:17:42 +0800 Subject: [PATCH] refactor(nc-gui): plugin input type --- packages/nc-gui/components/dashboard/settings/AppStore.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nc-gui/components/dashboard/settings/AppStore.vue b/packages/nc-gui/components/dashboard/settings/AppStore.vue index a957604c2b..14602061e0 100644 --- a/packages/nc-gui/components/dashboard/settings/AppStore.vue +++ b/packages/nc-gui/components/dashboard/settings/AppStore.vue @@ -20,7 +20,7 @@ const fetchPluginApps = async () => { apps = plugins.map((p) => ({ ...p, tags: p.tags ? p.tags.split(',') : [], - parsedInput: p.input && JSON.parse(p.input), + parsedInput: p.input && JSON.parse(p.input as string), })) } catch (e: any) { message.error(await extractSdkResponseErrorMsg(e))