cleanup TODOs

This commit is contained in:
Shannon
2020-07-30 15:47:14 +10:00
parent f7a0afb459
commit 99fc6ef587
4 changed files with 42 additions and 41 deletions

View File

@@ -36,5 +36,8 @@ csharp_style_var_when_type_is_apparent = true:suggestion
csharp_style_var_elsewhere = true:suggestion
csharp_prefer_braces = false : none
[*.{js,less}]
[*.js]
trim_trailing_whitespace = true
[*.less]
trim_trailing_whitespace = false

View File

@@ -171,7 +171,6 @@ function valPropertyMsg(serverValidationManager, localizationService, angularHel
// we find all ngModel controls recursively on this form (but stop recursing before we get to the next)
// umbProperty form). Then for each ngModelController we assign a new $validator. This $validator
// will execute whenever the value is changed which allows us to check and reset the server validator
// TODO: Is this even needed?
function startWatch() {
if (!watcher) {

View File

@@ -634,7 +634,6 @@ function contentEditingHelper(fileManager, $q, $location, $routeParams, editorSt
formHelper.handleServerValidation(args.err.data.ModelState);
//add model state errors to notifications
// TODO: Need to ignore complex messages
if (args.showNotifications) {
showNotificationsForModelsState(args.err.data.ModelState);
}