Skip to content

Commit

Permalink
types: show_column => Array
Browse files Browse the repository at this point in the history
  • Loading branch information
linzh committed Sep 20, 2024
1 parent 7e76809 commit b68ab24
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const CitationModal: FC<Props> = (props) => {
dataType: data_type || '',
srcColumn: src_column || '',
matchColumn: match_column || '',
showColumn: show_column || '',
showColumn: show_column?.join(',') || '',
toLink: to_link || '',
isEdit: Boolean(id)
})
Expand Down
2 changes: 1 addition & 1 deletion web/app/components/base/features/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export type ResourcesItem = {
data_type?: string
src_column?: string
match_column?: string
show_column?: string
show_column?: string[]
to_link?: string
name?: string
}
Expand Down
2 changes: 1 addition & 1 deletion web/context/modal-context.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export type CitationForm = {
data_type?: string
src_column?: string
match_column?: string
show_column?: string
show_column?: string[]
to_link?: string
tools?: { name: string; value: string }[]
name?: string
Expand Down

0 comments on commit b68ab24

Please sign in to comment.