mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-06 22:40:26 -05:00
Package search requires 'access' authorization
Added 'access' check to search route Handle failed Ajax search request as 'No result'
This commit is contained in:
parent
601caa8711
commit
cb37b38ee4
2 changed files with 6 additions and 0 deletions
|
@ -61,6 +61,9 @@ $(function() {
|
|||
$searchResults.html(
|
||||
"<div class='no-results'><big>No Results</big></div>")
|
||||
}
|
||||
}).fail(function () {
|
||||
$searchResults.html(
|
||||
"<div class='no-results'><big>No Results</big></div>")
|
||||
})
|
||||
})
|
||||
|
||||
|
|
|
@ -459,6 +459,9 @@ $(function() {
|
|||
$searchResults.html(
|
||||
"<div class='no-results'><big>No Results</big></div>")
|
||||
}
|
||||
}).fail(function () {
|
||||
$searchResults.html(
|
||||
"<div class='no-results'><big>No Results</big></div>")
|
||||
})
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue