admin stuff

This commit is contained in:
Flummi committed 2021-12-23 06:07:08 +01:00
1 parent f87dcc8ee1
commit 2c80c58f59
4 files changed
+2 -16

No files matched your search

+1 -1
View File
@@ -82,7 +82,7 @@ const flash = ({ type, msg }) => {
[...document.querySelectorAll("#tags > .badge")].forEach(tag => tag.parentElement.removeChild(tag));
_tags.reverse().forEach(tag => {
const a = document.createElement("a");
a.href = `/admin/test?tag=${tag.tag.replace(/\s/g, "+")}`;
a.href = `/tag/${tag.tag}`;
a.target = "_blank";
a.style = "color: inherit !important";
a.innerText = tag.tag;