Merge pull request #16 from ayoayco/feat/reverse-ordering-of-library-latest-first
feat: reverse ordering of library latest first
This commit is contained in:
commit
5e60dc0bf3
3 changed files with 4 additions and 3 deletions
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -1,11 +1,11 @@
|
|||
{
|
||||
"name": "@ayoayco/cozy",
|
||||
"version": "0.1.2",
|
||||
"version": "0.1.3",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"version": "0.1.2",
|
||||
"version": "0.1.3",
|
||||
"dependencies": {
|
||||
"@astro-reactive/form": "^0.8.1",
|
||||
"@astro-reactive/validator": "^0.3.4",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"version": "0.1.2",
|
||||
"version": "0.1.3",
|
||||
"scripts": {
|
||||
"start": "astro dev",
|
||||
"build": "astro build"
|
||||
|
|
|
@ -39,6 +39,7 @@ const {postDivSelector, skipSave = false} = Astro.props;
|
|||
const urlObj = new URL(request.url);
|
||||
return urlObj.search !== '';
|
||||
})
|
||||
.reverse()
|
||||
.forEach(async (request) => {
|
||||
const {url} = request;
|
||||
const link = document.createElement('a');
|
||||
|
|
Loading…
Reference in a new issue