Browse Source

refactor(nc-gui): plugin input type

pull/5269/head
Wing-Kam Wong 2 years ago
parent
commit
02357ca023
  1. 2
      packages/nc-gui/components/dashboard/settings/AppStore.vue

2
packages/nc-gui/components/dashboard/settings/AppStore.vue

@ -20,7 +20,7 @@ const fetchPluginApps = async () => {
apps = plugins.map((p) => ({ apps = plugins.map((p) => ({
...p, ...p,
tags: p.tags ? p.tags.split(',') : [], 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) { } catch (e: any) {
message.error(await extractSdkResponseErrorMsg(e)) message.error(await extractSdkResponseErrorMsg(e))

Loading…
Cancel
Save