From 5d5edbb6559775c056c6f5831f0ec977e36857e6 Mon Sep 17 00:00:00 2001 From: naskya Date: Sun, 14 May 2023 14:53:33 +0900 Subject: [PATCH] Set antenna/list column names automatically --- packages/client/src/ui/deck/antenna-column.vue | 1 + packages/client/src/ui/deck/list-column.vue | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/client/src/ui/deck/antenna-column.vue b/packages/client/src/ui/deck/antenna-column.vue index 9dba7bd48..3cc25a48d 100644 --- a/packages/client/src/ui/deck/antenna-column.vue +++ b/packages/client/src/ui/deck/antenna-column.vue @@ -58,6 +58,7 @@ async function setAntenna() { }); if (canceled) return; updateColumn(props.column.id, { + name: antenna.name, antennaId: antenna.id, }); } diff --git a/packages/client/src/ui/deck/list-column.vue b/packages/client/src/ui/deck/list-column.vue index e4c820d6f..82bf58f85 100644 --- a/packages/client/src/ui/deck/list-column.vue +++ b/packages/client/src/ui/deck/list-column.vue @@ -56,6 +56,7 @@ async function setList() { }); if (canceled) return; updateColumn(props.column.id, { + name: list.name, listId: list.id, }); }