Skip to content

Commit cdcfd48

Browse files
committed
add datatables_view to enable table views
1 parent 2a6a741 commit cdcfd48

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

utils/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,8 @@ module.exports.ckanViewToDataPackageView = (ckanView) => {
142142
pdf_view: 'document',
143143
image_view: 'web',
144144
webpage_view: 'web',
145-
text_view: 'text'
145+
text_view: 'text',
146+
datatables_view: 'table',
146147
}
147148
const dataPackageView = JSON.parse(JSON.stringify(ckanView))
148149
dataPackageView.specType = viewTypeToSpecType[ckanView.view_type]

0 commit comments

Comments
 (0)