Fix column header value on view change issue
This commit is contained in:
parent
270ee650f2
commit
4a3d768aa1
|
@ -15,6 +15,10 @@
|
||||||
|
|
||||||
let newOptionValue = option?.value || `No ${primaryTag?.title}`;
|
let newOptionValue = option?.value || `No ${primaryTag?.title}`;
|
||||||
|
|
||||||
|
$: if (!option) {
|
||||||
|
newOptionValue = `No ${primaryTag?.title}`;
|
||||||
|
}
|
||||||
|
|
||||||
async function onDrop(e: DragEvent) {
|
async function onDrop(e: DragEvent) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
if (!primaryTag || !$currentDraggedCard || !$currentDraggedCard.cardTags) return;
|
if (!primaryTag || !$currentDraggedCard || !$currentDraggedCard.cardTags) return;
|
||||||
|
|
Loading…
Reference in New Issue