OAPI: rename job status requeued
to requeueing
Rename job status `requeued` to `requeueing`, because it indicates a process that's (if things are working well) happening currently.
This commit is contained in:
parent
1aed4bf729
commit
507985e258
@ -782,7 +782,7 @@ components:
|
||||
- archived
|
||||
- archiving
|
||||
- cancel-requested
|
||||
- requeued
|
||||
- requeueing
|
||||
- under-construction
|
||||
|
||||
TaskStatus:
|
||||
|
@ -32,13 +32,12 @@ export default {
|
||||
const numTasks = 1;
|
||||
return promise
|
||||
.then(() => {
|
||||
let message;
|
||||
if (numTasks == 1) {
|
||||
message = `Task ${description}`;
|
||||
} else {
|
||||
message = `${numTasks} tasks ${description}`;
|
||||
}
|
||||
this.notifs.add(message);
|
||||
// There used to be a call to `this.notifs.add(message)` here, but now
|
||||
// that task status changes are logged in the notifications anyway,
|
||||
// it's no longer necessary.
|
||||
// This function is still kept, in case we want to bring back the
|
||||
// notifications when multiple tasks can be selected. Then a summary
|
||||
// ("N tasks requeued") could be logged here.
|
||||
})
|
||||
.catch((error) => {
|
||||
const errorMsg = JSON.stringify(error); // TODO: handle API errors better.
|
||||
|
Loading…
x
Reference in New Issue
Block a user