From 2656c1b8e1484caa479d1f0ba379240050f3cade Mon Sep 17 00:00:00 2001 From: Simon Frei Date: Mon, 31 Jan 2022 17:54:19 +0100 Subject: [PATCH] gui: Fix mistake (fixes #8152, ref #8147) (#8157) --- gui/default/syncthing/core/syncthingController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/default/syncthing/core/syncthingController.js b/gui/default/syncthing/core/syncthingController.js index 65b0c05d7..c60bde0b7 100755 --- a/gui/default/syncthing/core/syncthingController.js +++ b/gui/default/syncthing/core/syncthingController.js @@ -2027,7 +2027,7 @@ angular.module('syncthing.core') } $scope.editingFolderNew = function() { - return $scope.has(['new', 'new-pending'], currentFolder._editing); + return $scope.has(['new', 'new-pending'], $scope.currentFolder._editing); } function editFolder(initialTab) {