Fix column header value on view change issue

This commit is contained in:
Brieuc Dubois 2024-01-17 00:24:57 +01:00
parent 270ee650f2
commit 4a3d768aa1
1 changed files with 4 additions and 0 deletions

View File

@ -15,6 +15,10 @@
let newOptionValue = option?.value || `No ${primaryTag?.title}`;
$: if (!option) {
newOptionValue = `No ${primaryTag?.title}`;
}
async function onDrop(e: DragEvent) {
e.preventDefault();
if (!primaryTag || !$currentDraggedCard || !$currentDraggedCard.cardTags) return;