Skip to content

Commit 54c70d7

Browse files
Merge pull request #7364 from deutschebank/db-contrib/waltz-7363-hide-data-flow-button
Db contrib/waltz 7363 hide data flow button
2 parents 3fdc4d5 + fe1874c commit 54c70d7

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

waltz-ng/client/navbar/directives/navbar-profile.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,8 @@
199199
</span>
200200
</li>
201201

202-
<li>
202+
203+
<li ng-if="ctrl.dataFlowProposalsEnabled">
203204
<span>
204205
<a ui-sref="main.data-flow.dashboard">
205206
<waltz-icon class='text-muted small'

waltz-ng/client/navbar/directives/navbar-profile.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@ function controller($interval,
8383
vm.allowDirectLogin = webAuthentication === "waltz";
8484
});
8585

86+
settingsService
87+
.findOrDefault("feature.data-flow-proposals.enabled", false)
88+
.then(setting => vm.dataFlowProposalsEnabled = setting === "true");
89+
8690
userService
8791
.whoami(true) // force
8892
.then(user => vm.user = user)

0 commit comments

Comments
 (0)