feat(views/board): basic refresh after column change

This commit is contained in:
Elian Doran
2025-07-23 18:29:34 +03:00
parent 4047452b0f
commit b277f4bf3f
2 changed files with 56 additions and 5 deletions

View File

@@ -111,8 +111,6 @@ export default class BoardApi {
}
async reorderColumns(newColumnOrder: string[]) {
console.log("API: Reordering columns to:", newColumnOrder);
// Update the column order in persisted data
if (!this.persistedData.columns) {
this.persistedData.columns = [];
@@ -132,9 +130,6 @@ export default class BoardApi {
// Update internal columns array
this._columns = newColumnOrder;
console.log("API: Updated internal columns to:", this._columns);
console.log("API: Updated persisted data:", this.persistedData.columns);
await this.viewStorage.store(this.persistedData);
}