Browse Source

feat(nc-gui): preset the grouping field column in kanban view creation

pull/3563/head
Wing-Kam Wong 2 years ago
parent
commit
8dd3121194
  1. 5
      packages/nc-gui/components/dlg/ViewCreate.vue

5
packages/nc-gui/components/dlg/ViewCreate.vue

@ -170,6 +170,11 @@ const singleSelectFieldOptions = computed<SelectProps['options']>(() => {
}
})
})
if (form.type === ViewTypes.KANBAN) {
// preset the grouping field column
form.grp_column_id = singleSelectFieldOptions.value?.[0]?.value as string
}
</script>
<template>

Loading…
Cancel
Save