Skip to content

Commit

Permalink
GP-44570 Disable 'Save' buttons for archived tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
mflandorfer committed Oct 1, 2024
1 parent 5bfcc27 commit 6beaa4e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ang/sqlTaskConfigurator.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@
delete task["config"];
task.enabled = task.enabled === "" ? false : task.enabled;
task.input_required = task.input_required === "" ? false : task.input_required;
task.is_archived = typeof task.archive_date === "string" && task.archive_date.length > 0;
$scope.taskOptions = task;
$scope.fixTaskOptionRunPermissions();
$scope.$apply();
Expand Down

0 comments on commit 6beaa4e

Please sign in to comment.