add share board link

This commit is contained in:
plebeius.eth
2023-09-13 17:36:13 +02:00
parent 06803548f1
commit e866287440
5 changed files with 8 additions and 10 deletions
+1 -3
View File
@@ -3,9 +3,7 @@ function handleShareClick(selectedAddress, cid) {
let shareLink = `${plebBzBaseURL}${selectedAddress}/`;
if (cid === "rules" || cid === "description") {
shareLink += cid;
} else {
if (cid !== "rules" && cid !== "description") {
shareLink += `c/${cid}`;
}