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",
|
"name": "@ayoayco/cozy",
|
||||||
"version": "0.1.2",
|
"version": "0.1.3",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"version": "0.1.2",
|
"version": "0.1.3",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astro-reactive/form": "^0.8.1",
|
"@astro-reactive/form": "^0.8.1",
|
||||||
"@astro-reactive/validator": "^0.3.4",
|
"@astro-reactive/validator": "^0.3.4",
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"version": "0.1.2",
|
"version": "0.1.3",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "astro dev",
|
"start": "astro dev",
|
||||||
"build": "astro build"
|
"build": "astro build"
|
||||||
|
|
|
@ -39,6 +39,7 @@ const {postDivSelector, skipSave = false} = Astro.props;
|
||||||
const urlObj = new URL(request.url);
|
const urlObj = new URL(request.url);
|
||||||
return urlObj.search !== '';
|
return urlObj.search !== '';
|
||||||
})
|
})
|
||||||
|
.reverse()
|
||||||
.forEach(async (request) => {
|
.forEach(async (request) => {
|
||||||
const {url} = request;
|
const {url} = request;
|
||||||
const link = document.createElement('a');
|
const link = document.createElement('a');
|
||||||
|
|
Loading…
Reference in a new issue