From 0296e70b30b469d12e0d5ce8697fe63b02f555dc Mon Sep 17 00:00:00 2001 From: Bjarne Fyrstenborg Date: Wed, 28 Sep 2022 22:41:31 +0200 Subject: [PATCH] Update syntax --- .../propertyeditors/checkboxlist/checkboxlist.controller.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/checkboxlist/checkboxlist.controller.js b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/checkboxlist/checkboxlist.controller.js index 091ef8e7b1..9226ce14d5 100644 --- a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/checkboxlist/checkboxlist.controller.js +++ b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/checkboxlist/checkboxlist.controller.js @@ -38,10 +38,10 @@ angular.module("umbraco").controller("Umbraco.PropertyEditors.CheckboxListContro //watch the model.value in case it changes so that we can keep our view model in sync $scope.$watchCollection("model.value", updateViewModel); } - + // Set the message to use for when a mandatory field isn't completed. // Will either use the one provided on the property type or a localised default. - validationMessageService.getMandatoryMessage($scope.model.validation).then(function (value) { + validationMessageService.getMandatoryMessage($scope.model.validation).then(value => { $scope.mandatoryMessage = value; });