Skip to content

Commit

Permalink
Merge pull request #522 from vtex-apps/chore/disable-b2b-flag
Browse files Browse the repository at this point in the history
Chore/disable b2b flag
  • Loading branch information
Bruno Abreu authored May 13, 2021
2 parents 40d1564 + 632abbd commit 86e4bb2
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Changed
- Disable B2B behavior flag.

## [2.116.0] - 2021-04-05
### Changed
Expand Down
40 changes: 36 additions & 4 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,7 @@
"type": "string"
}
},
"required": [
"rel",
"href"
]
"required": ["rel", "href"]
},
"description": "admin/store.faviconLinks.description"
},
Expand Down Expand Up @@ -208,7 +205,42 @@
}
}
}
},
"dependencies": {
"requiresAuthorization": {
"oneOf": [
{
"properties": {
"requiresAuthorization": {
"enum": [false]
}
}
},
{
"properties": {
"requiresAuthorization": {
"enum": [true]
},
"b2bEnabled": {
"title": "admin/store.b2benabled.title",
"type": "string",
"format": "read-only",
"default": "true"
}
}
}
]
}
}
},
"settingsUiSchema": {
"requiresAuthorization": {
"ui:widget": "hidden"
},
"b2bEnabled": {
"ui:disabled": "true"
},
"ui:order": ["storeName", "requiresAuthorization", "b2bEnabled", "*"]
},
"$schema": "https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema"
}

0 comments on commit 86e4bb2

Please sign in to comment.