members with edit permission can now refresh preservation as well + bug fix

This commit is contained in:
daniel31x13
2024-09-12 15:30:15 -04:00
parent 8bb6e32bfa
commit aaf3590542
5 changed files with 58 additions and 36 deletions
+1 -1
View File
@@ -440,7 +440,7 @@ export default function LinkDetails({
{mode === "view" ? (
<div className="flex gap-2 flex-wrap rounded-md p-2 bg-base-200 border border-base-200 w-full text-xs">
{link.tags[0] ? (
{link.tags && link.tags[0] ? (
link.tags.map((tag) =>
isPublicRoute ? (
<div