拎壶冲 il y a 9 mois
Parent
commit
685b4a7ea4

+ 3 - 2
src/main/angular/src/app/core/components/removable-agent-list/removable-agent-list-container.component.ts

@@ -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,