Skip to content

Commit

Permalink
Merge branch 'release-1.51.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuriy Synyaiev committed Feb 17, 2022
2 parents ff69781 + f69db2b commit 2737e7a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@oat-sa/tao-core-ui",
"version": "1.51.0",
"version": "1.51.1",
"displayName": "TAO Core UI",
"description": "UI libraries of TAO",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/searchModal/advancedSearch.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ export default function advancedSearchFactory(config) {
const route = urlUtil.route('status', 'AdvancedSearch', 'tao');
return request(route)
.then(function (response) {
if (!response.enabled || response.whitelist.includes(config.rootClassUri)) {
if (!response.enabled || (response.whitelist && response.whitelist.includes(config.rootClassUri))) {
isAdvancedSearchStatusEnabled = false;
return;
}
Expand Down

0 comments on commit 2737e7a

Please sign in to comment.