From 774e870052cb3db7812080e9b42a6d5e67c8e77f Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Thu, 3 Aug 2023 19:30:42 +0800 Subject: [PATCH] fix(nc-gui): parsedInput.secure always true --- .../components/dashboard/settings/app-store/AppInstall.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nc-gui/components/dashboard/settings/app-store/AppInstall.vue b/packages/nc-gui/components/dashboard/settings/app-store/AppInstall.vue index 27c03c9e65..67dd74b214 100644 --- a/packages/nc-gui/components/dashboard/settings/app-store/AppInstall.vue +++ b/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 // hence, change the text value to boolean here if ('secure' in parsedInput && typeof parsedInput.secure === 'string') { - parsedInput.secure = !!parsedInput.secure + parsedInput.secure = parsedInput.secure === 'true' } plugin = { ...res, formDetails, parsedInput }