fix: refresh board after drag & drop move
FlowDeck CI / test (push) Failing after 3s
FlowDeck CI / docker (push) Has been skipped

This commit is contained in:
2026-07-10 08:06:06 -04:00
parent 7c8f8d719e
commit 8aaf1676c0
+6 -1
View File
@@ -277,7 +277,12 @@
onEnd: function(evt) {
const cardId = evt.item.dataset.cardId;
const toStatus = evt.to.dataset.status;
fetch(`/api/move?owner=${owner}&repo=${repo}&issue_id=${cardId}&column=${toStatus}`, { method: 'POST' });
fetch(`/api/move?owner=${owner}&repo=${repo}&issue_id=${cardId}&column=${toStatus}`, { method: 'POST' })
.then(() => {
// ponytail: refresh current view after move
const activeTab = document.querySelector('.view-tab.active');
if (activeTab) activeTab.click();
});
}
});
});