You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by yt...@apache.org on 2021/07/02 14:25:50 UTC

[incubator-datalab] branch DATALAB-2440 created (now 93de6c0)

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

ytykhun pushed a change to branch DATALAB-2440
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git.


      at 93de6c0  [DATALAB-2440] showed message about successfully self-service restarting

This branch includes the following new commits:

     new 93de6c0  [DATALAB-2440] showed message about successfully self-service restarting

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org


[incubator-datalab] 01/01: [DATALAB-2440] showed message about successfully self-service restarting

Posted by yt...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ytykhun pushed a commit to branch DATALAB-2440
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git

commit 93de6c01a46306fb1ec0a70069e36f1df2f7f4cb
Author: Yurii Tykhun <ty...@gmail.com>
AuthorDate: Fri Jul 2 17:25:33 2021 +0300

    [DATALAB-2440] showed message about successfully self-service restarting
---
 .../app/administration/configuration/configuration.component.ts  | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/services/self-service/src/main/resources/webapp/src/app/administration/configuration/configuration.component.ts b/services/self-service/src/main/resources/webapp/src/app/administration/configuration/configuration.component.ts
index 34f0eea..dc0601d 100644
--- a/services/self-service/src/main/resources/webapp/src/app/administration/configuration/configuration.component.ts
+++ b/services/self-service/src/main/resources/webapp/src/app/administration/configuration/configuration.component.ts
@@ -255,12 +255,17 @@ export class ConfigurationComponent implements OnInit, OnDestroy {
       .pipe(
         takeUntil(this.unsubscribe$),
       )
-      .subscribe(res => {
+      .subscribe(
+        res => {
           this.messagesStatus.success.push(serviceName);
           this.messagesStatus.counter -= 1;
         },
         error => {
-          this.messagesStatus.error.push(serviceName);
+          if (serviceName === 'Self-service') {
+            this.messagesStatus.success.push(serviceName);
+          } else {
+            this.messagesStatus.error.push(serviceName);
+          }
           this.messagesStatus.counter -= 1;
         }
       );

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org