diff --git a/gui/default/syncthing/core/syncthingController.js b/gui/default/syncthing/core/syncthingController.js index 517663d94..6f11e81e3 100644 --- a/gui/default/syncthing/core/syncthingController.js +++ b/gui/default/syncthing/core/syncthingController.js @@ -3343,6 +3343,11 @@ angular.module('syncthing.core') return 'checkbox'; } if (value instanceof Array) { + if (value.some(function (element) { + return typeof element !== 'number' && typeof element !== 'string'; + })) { + return 'skip'; + } return 'list'; } if (typeof value === 'object') { diff --git a/gui/default/syncthing/settings/advancedSettingsModalView.html b/gui/default/syncthing/settings/advancedSettingsModalView.html index 37312e053..ae92c0150 100644 --- a/gui/default/syncthing/settings/advancedSettingsModalView.html +++ b/gui/default/syncthing/settings/advancedSettingsModalView.html @@ -18,8 +18,8 @@