@@ -3,7 +3,7 @@ import { BAlert, BTable } from "bootstrap-vue";
33import { storeToRefs } from " pinia" ;
44import { computed , onMounted , ref } from " vue" ;
55
6- import { GalaxyApi , type HDASummary } from " @/api" ;
6+ import { GalaxyApi , type HistoryItemSummary } from " @/api" ;
77import { copyContent } from " @/api/datasets" ;
88import { updateTags } from " @/api/tags" ;
99import { useHistoryStore } from " @/stores/historyStore" ;
@@ -26,7 +26,7 @@ const message = ref("");
2626const loading = ref (true );
2727const sortDesc = ref (true );
2828const sortBy = ref (" update_time" );
29- const rows = ref <HDASummary []>([]);
29+ const rows = ref <HistoryItemSummary []>([]);
3030const messageVariant = ref (" danger" );
3131const fields = ref ([
3232 {
@@ -86,7 +86,7 @@ async function load(concat = false) {
8686 rethrowSimple (error );
8787 }
8888
89- const datasets = data as HDASummary [];
89+ const datasets = data as HistoryItemSummary [];
9090
9191 if (concat ) {
9292 rows .value = rows .value .concat (datasets );
@@ -100,7 +100,7 @@ async function load(concat = false) {
100100 }
101101}
102102
103- async function onCopyContent(item : HDASummary ) {
103+ async function onCopyContent(item : HistoryItemSummary ) {
104104 const dataset_id = item .id ;
105105 try {
106106 if (! currentHistoryId .value ) {
@@ -113,7 +113,7 @@ async function onCopyContent(item: HDASummary) {
113113 }
114114}
115115
116- async function onShowDataset(item : HDASummary ) {
116+ async function onShowDataset(item : HistoryItemSummary ) {
117117 const { history_id } = item ;
118118 const filters = {
119119 deleted: item .deleted ,
0 commit comments