Skip to content

Commit 9903a68

Browse files
authored
fix: rely on default BE code (#2144)
## Description Following from [here](https://github.com/SciCatProject/scicat-backend-next/blob/203cca8b81f4c72b6c27011e895a991f46a2eba1/src/config/configuration.ts#L202), this PR relies on the BE default status code. This allows different facilities to use different status codes by setting them in the BE and have no explicit dependency in the FE ## Tests included - [ ] Included for each change/fix? - [ ] Passing? (Merge will not be approved unless this is checked) ## Documentation - [ ] swagger documentation updated \[required\] - [ ] official documentation updated \[nice-to-have\] ### official documentation info If you have updated the official documentation, please provide PR # and URL of the pages where the updates are included ## Backend version - [ ] Does it require a specific version of the backend - which version of the backend is required: ## Summary by Sourcery Enhancements: - Remove the hard-coded job status message from admin dataset reset jobs to defer to backend-configured defaults.
2 parents 23393f0 + 2facefb commit 9903a68

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/app/datasets/admin-tab/admin-tab.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ export class AdminTabComponent implements OnInit, OnDestroy {
5858
type: "reset",
5959
datasetList: [fileObj],
6060
jobParams: {},
61-
jobStatusMessage: "jobCreated",
6261
};
6362
job.jobParams["username"] = user.username;
6463
this.store.dispatch(submitJobAction({ job }));

0 commit comments

Comments
 (0)