diff --git a/gui/default/untrusted/syncthing/core/syncthingController.js b/gui/default/untrusted/syncthing/core/syncthingController.js index da7774995..fa94ede17 100755 --- a/gui/default/untrusted/syncthing/core/syncthingController.js +++ b/gui/default/untrusted/syncthing/core/syncthingController.js @@ -2637,9 +2637,9 @@ angular.module('syncthing.core') id: '@', label: '@', folderType: '@', + untrusted: '=', }, link: function(scope, elem, attrs) { - scope.untrusted = attrs.untrusted === 'true'; var plain = false; scope.togglePasswordVisibility = function() { scope.plain = !scope.plain; diff --git a/gui/default/untrusted/syncthing/device/editDeviceModalView.html b/gui/default/untrusted/syncthing/device/editDeviceModalView.html index 2f847ee6b..10ae11dd8 100644 --- a/gui/default/untrusted/syncthing/device/editDeviceModalView.html +++ b/gui/default/untrusted/syncthing/device/editDeviceModalView.html @@ -72,7 +72,7 @@ Deselect All

- +
@@ -86,7 +86,7 @@ There are no folders to share with this device.

- +
diff --git a/gui/default/untrusted/syncthing/folder/editFolderModalView.html b/gui/default/untrusted/syncthing/folder/editFolderModalView.html index 6bde3c58f..1301b192d 100644 --- a/gui/default/untrusted/syncthing/folder/editFolderModalView.html +++ b/gui/default/untrusted/syncthing/folder/editFolderModalView.html @@ -54,7 +54,7 @@ Deselect All

- +
@@ -68,7 +68,7 @@ There are no devices to share this folder with.

- +