Browse Source

fix(nc-gui): parsedInput.secure always true

pull/6125/head
Wing-Kam Wong 1 year ago
parent
commit
774e870052
  1. 2
      packages/nc-gui/components/dashboard/settings/app-store/AppInstall.vue

2
packages/nc-gui/components/dashboard/settings/app-store/AppInstall.vue

@ -113,7 +113,7 @@ const readPluginDetails = async () => {
// and it has been changed to XcType.Checkbox, since 0.0.2 // and it has been changed to XcType.Checkbox, since 0.0.2
// hence, change the text value to boolean here // hence, change the text value to boolean here
if ('secure' in parsedInput && typeof parsedInput.secure === 'string') { if ('secure' in parsedInput && typeof parsedInput.secure === 'string') {
parsedInput.secure = !!parsedInput.secure parsedInput.secure = parsedInput.secure === 'true'
} }
plugin = { ...res, formDetails, parsedInput } plugin = { ...res, formDetails, parsedInput }

Loading…
Cancel
Save