diff --git a/app/src/app/catalog/images/images.component.ts b/app/src/app/catalog/images/images.component.ts index 7df1e03..447f3ed 100644 --- a/app/src/app/catalog/images/images.component.ts +++ b/app/src/app/catalog/images/images.component.ts @@ -186,14 +186,14 @@ export class ImagesComponent implements OnInit, OnDestroy modalRef.content.confirm.pipe(first()).subscribe(() => { - this.toastr.info(`Removing machine "${image.name}"...`); + this.toastr.info(`Removing image "${image.name}"...`); this.catalogService.deleteImage(image.id) .subscribe(() => { - const index = this.images.findIndex(i => i.id === image.id); + const index = this.myImages.findIndex(i => i.id === image.id); if (index >= 0) - this.images.splice(index, 1); + this.myImages.splice(index, 1); this.applyFiltersAndSort(); diff --git a/app/src/app/networking/firewall-rules/firewall-rules.component.html b/app/src/app/networking/firewall-rules/firewall-rules.component.html index 5d0fe4a..c7b2570 100644 --- a/app/src/app/networking/firewall-rules/firewall-rules.component.html +++ b/app/src/app/networking/firewall-rules/firewall-rules.component.html @@ -11,7 +11,7 @@
- +