From ef651393f1e202f0b18e50c38dac41d0bd643658 Mon Sep 17 00:00:00 2001 From: Christopher Byrd Date: Thu, 16 Nov 2023 13:16:51 -0800 Subject: [PATCH] nit #10252 --- arches/app/media/js/views/graph/function-manager.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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()); } });