Skip to content

Commit c399527

Browse files
committed
Update dropdown
1 parent dcbfbd1 commit c399527

File tree

1 file changed

+40
-41
lines changed

1 file changed

+40
-41
lines changed

config/gen3/explorer.json

Lines changed: 40 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -218,48 +218,47 @@
218218
]
219219
},
220220
"dropdowns": {
221-
"download-table": {
222-
"title": "Download Table",
223-
"leftIcon": "gen3:download",
224-
"rightIcon": "gen3:chevron-down",
225-
"dropdownItems": [
226-
{
227-
"enabled": true,
228-
"type": "data-json",
229-
"title": "JSON",
230-
"leftIcon": "datafile",
231-
"rightIcon": "download",
232-
"action": "data-json",
233-
"actionArgs" : {
234-
"filename": "Imaging_Studies_table.json",
235-
"rootPath": "gen3_discovery"
236-
}
237-
},
238-
{
239-
"enabled": true,
240-
"type": "data-tsv",
241-
"title": "CSV",
242-
"leftIcon": "datafile",
243-
"rightIcon": "download",
244-
"action": "data-tsv",
245-
"actionArgs" : {
246-
"filename": "Imaging_Studies_table.tsv"
247-
}
248-
},
249-
{
250-
"enabled": true,
251-
"type": "data-csv",
252-
"title": "CSV",
253-
"leftIcon": "datafile",
254-
"rightIcon": "download",
255-
"action": "data-csv",
256-
"actionArgs" : {
257-
"filename": "Imaging_Studies_table.csv"
221+
"download-table": {
222+
"title": "Download Table",
223+
"leftIcon": "gen3:download",
224+
"rightIcon": "gen3:chevron-down",
225+
"dropdownItems": [
226+
{
227+
"enabled": true,
228+
"type": "data-json",
229+
"title": "JSON",
230+
"dropdownId": "download-table",
231+
"leftIcon": "datafile",
232+
"rightIcon": "download",
233+
"actionArgs": {
234+
"filename": "Imaging_Studies_table.json"
235+
}
236+
},
237+
{
238+
"enabled": true,
239+
"type": "data-tsv",
240+
"title": "TSV",
241+
"dropdownId": "download-table",
242+
"leftIcon": "datafile",
243+
"rightIcon": "download",
244+
"actionArgs": {
245+
"filename": "Imaging_Studies_table.tsv"
246+
}
247+
},
248+
{
249+
"enabled": true,
250+
"type": "data-csv",
251+
"title": "CSV",
252+
"dropdownId": "download-table",
253+
"leftIcon": "datafile",
254+
"rightIcon": "download",
255+
"actionArgs": {
256+
"filename": "Imaging_Studies_table.csv"
257+
}
258258
}
259-
}
260-
]
261-
}
262-
},
259+
]
260+
}
261+
},
263262
"buttons": [
264263
{
265264
"enabled": true,

0 commit comments

Comments
 (0)