Skip to content

⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.

Bug fix.

Daniel36c7cbd72616
diff --git a/src/componets/EditItem.js b/src/componets/EditItem.js
index c8f78aa6..e708d524 100644
--- a/src/componets/EditItem.js
+++ b/src/componets/EditItem.js
@@ -30,7 +30,8 @@ const EditItem = ({
SetLoader,
"PUT",
item._id,
- item.title
+ item.title,
+ item.date
);
}
diff --git a/src/componets/List.js b/src/componets/List.js
index db2c85fa..977bd878 100644
--- a/src/componets/List.js
+++ b/src/componets/List.js
@@ -43,6 +43,7 @@ const List = ({ data, tags, collections, reFetch, SetLoader, lightMode }) => {
item={data[editIndex]}
/>
) : null}
+
{/* eslint-disable-next-line */}
{data.map((e, i, array) => {
try {
diff --git a/src/modules/send.js b/src/modules/send.js
index 715382ab..e0107d5c 100644
--- a/src/modules/send.js
+++ b/src/modules/send.js
@@ -12,10 +12,8 @@ const addItem = async (
method,
id = nanoid(),
title = "",
- date = new Date()
+ date = new Date().toString()
) => {
- const dateCreated = date.toString();
-
function isValidHttpUrl(string) {
let url;
@@ -38,7 +36,7 @@ const addItem = async (
link: link,
tag: tag,
collection: collection,
- date: dateCreated,
+ date: date,
}),
headers: {
"Content-type": "application/json; charset=UTF-8",
diff --git a/src/styles/List.css b/src/styles/List.css
index 0c5be332..3e7cbb6f 100644
--- a/src/styles/List.css
+++ b/src/styles/List.css
@@ -174,7 +174,6 @@
.delete {
margin-top: 20px;
margin-left: 10px;
- display: inline;
font-size: 1.1rem;
width: 40px;
height: 40px;
diff --git a/src/styles/SendItem.css b/src/styles/SendItem.css
index e9d4fd99..f9b8eb47 100644
--- a/src/styles/SendItem.css
+++ b/src/styles/SendItem.css
@@ -23,6 +23,7 @@
left: 0;
bottom: 0;
width: 100vw;
+ z-index: 1;
}
.send-box {