Skip to content

Commit

Permalink
Give django a little time between calling the same save endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
chiatt committed Sep 26, 2024
1 parent e745d3b commit d73bf00
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion arches/app/media/js/views/graph-designer.js
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,9 @@ define([
}
else {
viewModel.cardTree.updateCards(viewModel.selectedNode().nodeGroupId(), data.responseJSON);
viewModel.permissionTree.updateCards(viewModel.selectedNode().nodeGroupId(), data.responseJSON);
setTimeout(function () {
viewModel.permissionTree.updateCards(viewModel.selectedNode().nodeGroupId(), data.responseJSON);
}, 50);
viewModel.updatedCardinalityData([data.responseJSON, viewModel.graphSettingsViewModel]);
}

Expand Down

0 comments on commit d73bf00

Please sign in to comment.