feat(kanban): implement task reordering and improve task movement logic
feat(share): add documentType prop to ShareModal for dynamic URL generation
This commit is contained in:
@@ -58,6 +58,7 @@ const EditorPage = () => {
|
||||
{showShareModal && (
|
||||
<ShareModal
|
||||
documentId={id!}
|
||||
documentType="editor"
|
||||
onClose={() => setShowShareModal(false)}
|
||||
currentPermission={permission || undefined}
|
||||
currentRole={role || undefined}
|
||||
|
||||
@@ -42,7 +42,11 @@ const KanbanPage = () => {
|
||||
</div>
|
||||
|
||||
{showShareModal && (
|
||||
<ShareModal documentId={id!} onClose={() => setShowShareModal(false)} />
|
||||
<ShareModal
|
||||
documentId={id!}
|
||||
documentType="kanban"
|
||||
onClose={() => setShowShareModal(false)}
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user