Skip to content
This repository was archived by the owner on Oct 31, 2023. It is now read-only.

Commit ce13939

Browse files
committed
Treat as a normal record when the first column is not *
1 parent ebdc498 commit ce13939

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

import.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,9 @@ func readCsv(app *kintone.App, filePath string) error {
111111
} else {
112112
column := getColumn(col, fields)
113113
if column.IsSubField {
114-
hasTable = true
114+
if row[0] == "" || row[0] == "*" {
115+
hasTable = true
116+
}
115117
}
116118
columns = append(columns, column)
117119
}

0 commit comments

Comments
 (0)