This is an automated email from the ASF dual-hosted git repository.

hshpak pushed a commit to branch fix/reload-btn
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git

commit 99f02fc6807d947b6d58f7b92fdb9aae3c4aa2dd
Author: Hennadii_Shpak <[email protected]>
AuthorDate: Thu Aug 11 16:28:38 2022 +0300

    fixed reload button
---
 .../resources/webapp/src/app/resources/images/images.component.ts   | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git 
a/services/self-service/src/main/resources/webapp/src/app/resources/images/images.component.ts
 
b/services/self-service/src/main/resources/webapp/src/app/resources/images/images.component.ts
index ccaea384b..b812af4f4 100644
--- 
a/services/self-service/src/main/resources/webapp/src/app/resources/images/images.component.ts
+++ 
b/services/self-service/src/main/resources/webapp/src/app/resources/images/images.component.ts
@@ -133,7 +133,6 @@ export class ImagesComponent implements OnInit, OnDestroy {
   }
 
   onRefreshClick(): void {
-    this.checkAuthorize();
     this.imagesService.getImagePageInfo().subscribe();
     this.activeProjectName = '';
   }
@@ -154,7 +153,10 @@ export class ImagesComponent implements OnInit, OnDestroy {
       },
       panelClass: 'modal-sm'
     }).afterClosed()
-      .subscribe(() => this.progressBarService.stopProgressBar());
+      .subscribe(() => {
+        this.checkAuthorize();
+        this.progressBarService.stopProgressBar();
+      });
   }
 
   onFilterClick(): void {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to