Browse Source

refactor: keep `pk` checked if uidt is `ID`

re #641

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/948/head
Pranav C 3 years ago
parent
commit
b6c7095928
  1. 2
      packages/nc-gui/components/project/spreadsheet/components/editColumn.vue

2
packages/nc-gui/components/project/spreadsheet/components/editColumn.vue

@ -607,7 +607,9 @@ export default {
},
onDataTypeChange() {
this.newColumn.rqd = false
if (this.newColumn.uidt !== UITypes.ID) {
this.newColumn.pk = false
}
this.newColumn.ai = false
this.newColumn.cdf = null
this.newColumn.un = false

Loading…
Cancel
Save