Skip to content
This repository has been archived by the owner on Oct 8, 2019. It is now read-only.

Commit

Permalink
feat(.com): add only one public banner config in options
Browse files Browse the repository at this point in the history
  • Loading branch information
Thore3 committed Jun 19, 2018
1 parent 2a9ad46 commit 876c41f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions assets/js/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,7 @@ function AppRouter ($stateProvider, $urlRouterProvider) {
$scope.versionMyWallet = env.versionMyWallet;
$scope.versionFrontend = env.versionFrontend;

$scope.publicBannerConfig = ComMigration.isOnDotCom(env)
? env.web.serviceAlert.publicDotCom
: env.web.serviceAlert.publicDotInfo
$scope.publicBannerConfig = env.web.serviceAlert.public
$scope.showPublicBanner = $scope.publicBannerConfig != null
});

Expand Down
2 changes: 1 addition & 1 deletion rootApp/Resources/wallet-options.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
},
"web": {
"serviceAlert": {
"__publicDotInfo": {
"__public": {
"type": "info",
"header": {
"en": "We’re packing our bags and preparing to move…domains!"
Expand Down

0 comments on commit 876c41f

Please sign in to comment.