Merge branch 'master' of https://code-repo.d4science.org/MaDgIK/monitor-dashboard
This commit is contained in:
commit
fea494fd0e
|
@ -1 +1 @@
|
|||
Subproject commit f1618b92e8739b4845955c9c4f02a2e1fc31242a
|
||||
Subproject commit 56a8a035cc5df422fc5fa442694bdc87894cdd26
|
|
@ -695,10 +695,11 @@ export class TopicComponent implements OnInit, OnDestroy, IDeactivateComponent {
|
|||
this.topicSubscriptions.push(this.stakeholderService.changeVisibility(this.properties.monitorServiceAPIURL, path, visibility, propagate).subscribe(returnedElement => {
|
||||
if(propagate) {
|
||||
callback(returnedElement);
|
||||
NotificationHandler.rise(StringUtils.capitalize(this.type) + ' has been <b>successfully changed</b> to ' + returnedElement.visibility.toLowerCase());
|
||||
} else {
|
||||
element.visibility = returnedElement.visibility;
|
||||
}
|
||||
NotificationHandler.rise(StringUtils.capitalize(this.type) + ' has been <b>successfully changed</b> to ' + element.visibility.toLowerCase());
|
||||
}
|
||||
}, error => {
|
||||
NotificationHandler.rise(error.error.message, 'danger');
|
||||
}));
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 936fac297322fa252af930cab3c0e69efe57c1a5
|
||||
Subproject commit fc2e0b805ae3011f0f181983b27905908e528083
|
Loading…
Reference in New Issue