File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 1
1
import type { FairDOConfig } from "@/config/FairDOConfig"
2
2
3
3
import type { Meta , StoryObj } from "@storybook/react"
4
- import { PidDisplay } from "@/components/result/PidDisplay"
5
4
import { FairDOElasticSearch } from "./FairDOElasticSearch"
6
5
7
6
const meta = {
@@ -82,7 +81,7 @@ const demoConfig: FairDOConfig = {
82
81
{
83
82
key : "digitalObjectType.keyword" ,
84
83
label : "File Type" ,
85
- optionsTextDisplay : ( props ) => < PidDisplay pid = { props . text } />
84
+ usePidResolver : true
86
85
} ,
87
86
{
88
87
key : "hadPrimarySource.keyword" ,
@@ -94,8 +93,7 @@ const demoConfig: FairDOConfig = {
94
93
} ,
95
94
{
96
95
key : "NMR_Method.keyword" ,
97
- label : "NMR Method" ,
98
- optionsTextDisplay : ( props ) => < PidDisplay pid = { props . text } />
96
+ label : "NMR Method"
99
97
}
100
98
] ,
101
99
resultFields : [ ] , // Leave empty to get all fields
You can’t perform that action at this time.
0 commit comments