fix(client): デッキでウィジェットの情報が保存されない問題を修正

Fix #8818
This commit is contained in:
syuilo 2022-06-12 19:50:43 +09:00
parent 11a6bd890c
commit a8e7b1a303
2 changed files with 8 additions and 1 deletions

View file

@ -9,6 +9,13 @@
You should also include the user name that made the change. You should also include the user name that made the change.
--> -->
## 12.x.x (unreleased)
### Improvements
### Bugfixes
- Client: デッキでウィジェットの情報が保存されない問題を修正 @syuilo
## 12.111.0 (2022/06/11) ## 12.111.0 (2022/06/11)
### Improvements ### Improvements
- Supports Unicode Emoji 14.0 @mei23 - Supports Unicode Emoji 14.0 @mei23

View file

@ -276,7 +276,7 @@ export function setColumnWidgets(id: Column['id'], widgets: ColumnWidget[]) {
saveDeck(); saveDeck();
} }
export function updateColumnWidget(id: Column['id'], widgetId: string, WidgetData: any) { export function updateColumnWidget(id: Column['id'], widgetId: string, widgetData: any) {
const columns = copy(deckStore.state.columns); const columns = copy(deckStore.state.columns);
const columnIndex = deckStore.state.columns.findIndex(c => c.id === id); const columnIndex = deckStore.state.columns.findIndex(c => c.id === id);
const column = copy(deckStore.state.columns[columnIndex]); const column = copy(deckStore.state.columns[columnIndex]);