Skip to content

Commit 49997f0

Browse files
committed
Bug fix.
1 parent b6e3dc0 commit 49997f0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

client/src/components/Collections/wizard/UploadFetchWorkbook.vue

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
import { BCardGroup } from "bootstrap-vue";
33
import { computed } from "vue";
44
5+
import { withPrefix } from "@/utils/redirect";
6+
57
import type { ParsedFetchWorkbookForCollectionCollectionType, RulesCreatingWhat } from "./types";
68
79
import CardDownloadWorkbook from "./CardDownloadWorkbook.vue";
@@ -25,7 +27,7 @@ const emit = defineEmits(["workbookContents"]);
2527
const generateWorkbookHref = computed(() => {
2628
let type;
2729
if (props.creatingWhat === "datasets") {
28-
type = "dataset";
30+
type = "datasets";
2931
} else if (props.includeCollectionName) {
3032
type = "collections";
3133
} else {
@@ -36,7 +38,7 @@ const generateWorkbookHref = computed(() => {
3638
if (type === "collection" || type === "collections") {
3739
url = `${url}&collection_type=${props.collectionType}`;
3840
}
39-
return url;
41+
return withPrefix(url);
4042
});
4143
</script>
4244

0 commit comments

Comments
 (0)