diff --git a/arches/app/media/js/views/graph/function-manager.js b/arches/app/media/js/views/graph/function-manager.js index 729ec78e6e3..b9c4d3c1861 100644 --- a/arches/app/media/js/views/graph/function-manager.js +++ b/arches/app/media/js/views/graph/function-manager.js @@ -93,8 +93,11 @@ require([ var functionsToSave = []; viewModel.loading(true); viewModel.appliedFunctionList.items().forEach(function(fn){ - if (fn.dirty() || !fn.function.component() - || (viewModel.selectedFunction() && _.contains(savedFunctions(), viewModel.selectedFunction().function_id) === false)) { + if ( + fn.dirty() + || !fn.function.component() + || (viewModel.selectedFunction() && _.contains(savedFunctions(), viewModel.selectedFunction().function_id) === false) + ) { functionsToSave.push(fn.toJSON()); } });