This commit is contained in:
Isaac Wise
2024-02-11 01:29:11 -06:00
parent e2c6993a6d
commit 0a77ee90a7
15 changed files with 186 additions and 129 deletions
+3 -2
View File
@@ -32,7 +32,7 @@ export default function LinkCard({
link,
flipDropdown,
showCheckbox = true,
editMode
editMode,
}: Props) {
const { collections } = useCollectionStore();
const { account } = useAccountStore();
@@ -103,7 +103,8 @@ export default function LinkCard({
ref={ref}
className="border border-solid border-neutral-content bg-base-200 shadow-md hover:shadow-none duration-100 rounded-2xl relative"
>
{showCheckbox && editMode &&
{showCheckbox &&
editMode &&
(permissions === true ||
permissions?.canCreate ||
permissions?.canDelete) && (