mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-02-21 07:29:37 +01: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
@ -61,6 +61,9 @@ $(function() {
|
|||||||
$searchResults.html(
|
$searchResults.html(
|
||||||
"<div class='no-results'><big>No Results</big></div>")
|
"<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(
|
$searchResults.html(
|
||||||
"<div class='no-results'><big>No Results</big></div>")
|
"<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 New Issue
Block a user