Skip to content

Commit

Permalink
Merge branch 'release-1.51.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
marpesia committed Feb 17, 2022
2 parents 96054f8 + f5ff341 commit ff69781
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 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.50.1",
"version": "1.51.0",
"displayName": "TAO Core UI",
"description": "UI libraries of TAO",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions src/resourcemgr/fileSelector.js
Original file line number Diff line number Diff line change
Expand Up @@ -272,15 +272,15 @@ export default function(options) {
pathParam}`,
function(response) {
if (response && response.exists === true) {
result = window.confirm(`Do you want to override ${ file.name }?`);
result = window.confirm(__('Do you want to override "%s"?', file.name));
}
cb(result);
}
);
} else {
//fallback on client side check
if (_.contains(fileNames, file.name.toLowerCase())) {
result = window.confirm(`Do you want to override ${ file.name }?`);
result = window.confirm(__('Do you want to override "%s"?', file.name));
}
cb(result);
}
Expand Down
2 changes: 1 addition & 1 deletion src/resourcemgr/tpl/layout.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<!-- left section: items selection -->
<section class="file-browser">
<h1>{{ __ 'Browse resources'}}</h1>
<h1>{{__ 'Browse resources'}}</h1>
<div class="file-browser-wrapper"></div>
</section>

Expand Down

0 comments on commit ff69781

Please sign in to comment.