Make spelling of canceled consistent

This commit is contained in:
Christian Adams
2019-11-26 00:30:53 -05:00
parent c87c0aa712
commit 4f8b624b96
9 changed files with 20 additions and 20 deletions
@@ -29,7 +29,7 @@ export default
Rest.post()
.then(() => {
Wait('stop');
//Alert('Inventory Sync Cancelled', 'Request to cancel the sync process was submitted to the task manger. ' +
//Alert('Inventory Sync Canceled', 'Request to cancel the sync process was submitted to the task manger. ' +
// 'Click the <i class="fa fa-refresh fa-lg"></i> button to monitor the status.', 'alert-info');
})
.catch(({data, status}) => {
@@ -646,7 +646,7 @@ export default ['moment', '$timeout', '$window', '$filter', 'TemplatesStrings',
if(d.job.status === "successful"){
return "#5cb85c";
}
else if (d.job.status === "failed" || d.job.status === "error" || d.job.status === "cancelled") {
else if (d.job.status === "failed" || d.job.status === "error" || d.job.status === "canceled") {
return "#d9534f";
}
else {
@@ -913,7 +913,7 @@ export default ['moment', '$timeout', '$window', '$filter', 'TemplatesStrings',
if(d.job.status === "successful"){
return "#5cb85c";
}
else if (d.job.status === "failed" || d.job.status === "error" || d.job.status === "cancelled") {
else if (d.job.status === "failed" || d.job.status === "error" || d.job.status === "canceled") {
return "#d9534f";
}
else {