Skip to content

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

feat: show link placeholder on pinned link section on drag

Kha Nguyen75419df40b01
diff --git a/apps/web/pages/dashboard.tsx b/apps/web/pages/dashboard.tsx
index df437aea..9aa577f3 100644
--- a/apps/web/pages/dashboard.tsx
+++ b/apps/web/pages/dashboard.tsx
@@ -514,6 +514,10 @@ const Section = ({
<DashboardLinks
links={links.filter((e: any) => e.pinnedBy && e.pinnedBy[0])}
isLoading={dashboardData.isLoading}
+ isDropping={
+ droppingCollection === "pinned-links" &&
+ activeLink?.pinnedBy?.length === 0
+ }
/>
) : (
<div className="flex flex-col gap-2 justify-center h-full border border-solid border-neutral-content w-full mx-auto p-10 rounded-xl bg-base-200 bg-gradient-to-tr from-neutral-content/70 to-50% to-base-200">