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:51 UTC
[incubator-datalab] 01/01: [DATALAB-2440] showed message about
successfully self-service restarting
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