From a8e7b1a303234b14f2ed2758efde649d7c5bf607 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 12 Jun 2022 19:50:43 +0900 Subject: [PATCH] =?UTF-8?q?fix(client):=20=E3=83=87=E3=83=83=E3=82=AD?= =?UTF-8?q?=E3=81=A7=E3=82=A6=E3=82=A3=E3=82=B8=E3=82=A7=E3=83=83=E3=83=88?= =?UTF-8?q?=E3=81=AE=E6=83=85=E5=A0=B1=E3=81=8C=E4=BF=9D=E5=AD=98=E3=81=95?= =?UTF-8?q?=E3=82=8C=E3=81=AA=E3=81=84=E5=95=8F=E9=A1=8C=E3=82=92=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix #8818 --- CHANGELOG.md | 7 +++++++ packages/client/src/ui/deck/deck-store.ts | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index eb16a1675d..3035e8d022 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,13 @@ 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) ### Improvements - Supports Unicode Emoji 14.0 @mei23 diff --git a/packages/client/src/ui/deck/deck-store.ts b/packages/client/src/ui/deck/deck-store.ts index c847bf2b43..b9bbbb96f2 100644 --- a/packages/client/src/ui/deck/deck-store.ts +++ b/packages/client/src/ui/deck/deck-store.ts @@ -276,7 +276,7 @@ export function setColumnWidgets(id: Column['id'], widgets: ColumnWidget[]) { 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 columnIndex = deckStore.state.columns.findIndex(c => c.id === id); const column = copy(deckStore.state.columns[columnIndex]);