mirror of
https://github.com/portainer/portainer.git
synced 2025-08-05 05:45:22 +02:00
fix(edge-jobs): HTTP 404 on file upload (#6671)
* fix(edge-jobs): HTTP 404 on file upload * fix(edge-jobs): state 'edge job' in message on edge job removal instead of 'stack' * fix(api/edge-jobs): save changes on edge-jobs update
This commit is contained in:
parent
355674cf22
commit
030b3d7c4d
4 changed files with 4 additions and 3 deletions
|
@ -31,7 +31,7 @@ export class EdgeJobsViewController {
|
|||
for (let edgeJob of edgeJobs) {
|
||||
try {
|
||||
await this.EdgeJobService.remove(edgeJob.Id);
|
||||
this.Notifications.success('Stack successfully removed', edgeJob.Name);
|
||||
this.Notifications.success('Edge job successfully removed', edgeJob.Name);
|
||||
_.remove(this.edgeJobs, edgeJob);
|
||||
} catch (err) {
|
||||
this.Notifications.error('Failure', err, 'Unable to remove Edge job ' + edgeJob.Name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue