diff --git a/client/src/components/Markdown/Elements/HistoryDatasetDisplay.vue b/client/src/components/Markdown/Elements/HistoryDatasetDisplay.vue
index cf2836efef4..147a27f4c78 100644
--- a/client/src/components/Markdown/Elements/HistoryDatasetDisplay.vue
+++ b/client/src/components/Markdown/Elements/HistoryDatasetDisplay.vue
@@ -37,11 +37,14 @@
-
-
- {{ itemContent.item_data }}
-
-
+
+
+
+
+ {{ itemContent.item_data }}
+
No content found.
Show More...
@@ -92,9 +98,9 @@ export default {
},
},
computed: {
- notTabular() {
+ datasetType() {
const dataset = this.datasets[this.args.history_dataset_id];
- return dataset && dataset.ext != "tabular";
+ return dataset.ext;
},
datasetName() {
const dataset = this.datasets[this.args.history_dataset_id];
@@ -103,6 +109,9 @@ export default {
downloadUrl() {
return `${getAppRoot()}dataset/display?dataset_id=${this.args.history_dataset_id}`;
},
+ displayUrl() {
+ return `${getAppRoot()}datasets/${this.args.history_dataset_id}/display`;
+ },
importUrl() {
return `${getAppRoot()}dataset/imp?dataset_id=${this.args.history_dataset_id}`;
},
@@ -149,6 +158,6 @@ export default {