diff --git a/client/src/components/Dataset/DatasetList.vue b/client/src/components/Dataset/DatasetList.vue index 50f4ddac974..cb19af07aa2 100644 --- a/client/src/components/Dataset/DatasetList.vue +++ b/client/src/components/Dataset/DatasetList.vue @@ -115,7 +115,7 @@ export default { this.load(); }, methods: { - ...mapActions(useHistoryStore, ["loadHistories", "setCurrentHistory"]), + ...mapActions(useHistoryStore, ["loadHistories", "applyFilterText"]), load(concat = false) { this.loading = true; getDatasets({ @@ -153,7 +153,7 @@ export default { async onShowDataset(item) { const historyId = item.history_id; try { - await this.setCurrentHistory(historyId); + await this.applyFilterText(historyId, `hid:${item.hid}`); } catch (error) { this.onError(error); } diff --git a/client/src/components/Dataset/DatasetName.vue b/client/src/components/Dataset/DatasetName.vue index 9751155ea3d..70916f1046e 100644 --- a/client/src/components/Dataset/DatasetName.vue +++ b/client/src/components/Dataset/DatasetName.vue @@ -22,7 +22,7 @@