diff --git a/examples/plugins/media-stats-ui/pages/stats.json b/examples/plugins/media-stats-ui/pages/stats.json index 03961a0..6f860c5 100644 --- a/examples/plugins/media-stats-ui/pages/stats.json +++ b/examples/plugins/media-stats-ui/pages/stats.json @@ -64,6 +64,10 @@ "filterable": true, "page_size": 10, "columns": [ + { + "key": "file_name", + "header": "Filename" + }, { "key": "title", "header": "Title" @@ -120,13 +124,9 @@ "path": "/api/v1/media" }, "type-breakdown": { - "type": "static", - "value": [ - { "type": "Audio", "count": 0 }, - { "type": "Video", "count": 0 }, - { "type": "Image", "count": 0 }, - { "type": "Document", "count": 0 } - ] + "type": "transform", + "source": "stats", + "expression": "stats.media_by_type" } } }