|
@@ -138,13 +138,14 @@ export class RemovableAgentListContainerComponent implements OnInit, OnDestroy {
|
|
|
|
|
|
onRemoveConfirm(): void {
|
|
|
this.showProcessing();
|
|
|
-
|
|
|
if (this.isAppRemove()) {
|
|
|
this.removableAgentDataService.removeApplication({
|
|
|
applicationName: this.selectedApplication.getApplicationName(),
|
|
|
password: this.password
|
|
|
}).pipe(
|
|
|
- filter((response: string) => response == 'OK')
|
|
|
+ filter((response: any) =>{
|
|
|
+ return response.status === "OK"
|
|
|
+ })
|
|
|
).subscribe(() => {
|
|
|
this.messageQueueService.sendMessage({
|
|
|
to: MESSAGE_TO.APPLICATION_REMOVED,
|