From eff630d3a02fe6c5ae67f48d6b80d3cbaa815aac Mon Sep 17 00:00:00 2001 From: Bjarne Fyrstenborg Date: Mon, 27 Jul 2020 21:12:55 +0200 Subject: [PATCH] Ensure replacement of angular.copy still works where second parameter is used for destination object. --- src/Umbraco.Web.UI.Client/src/utilities.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web.UI.Client/src/utilities.js b/src/Umbraco.Web.UI.Client/src/utilities.js index 9121ba0e25..64884b589b 100644 --- a/src/Umbraco.Web.UI.Client/src/utilities.js +++ b/src/Umbraco.Web.UI.Client/src/utilities.js @@ -18,7 +18,7 @@ /** * Facade to angular.copy */ - const copy = val => angular.copy(val); + const copy = (src, dst) => angular.copy(src, dst); /** * Equivalent to angular.isArray