File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
client/src/components/Collections/wizard Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 22import { BCardGroup } from " bootstrap-vue" ;
33import { computed } from " vue" ;
44
5+ import { withPrefix } from " @/utils/redirect" ;
6+
57import type { ParsedFetchWorkbookForCollectionCollectionType , RulesCreatingWhat } from " ./types" ;
68
79import CardDownloadWorkbook from " ./CardDownloadWorkbook.vue" ;
@@ -25,7 +27,7 @@ const emit = defineEmits(["workbookContents"]);
2527const 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
You can’t perform that action at this time.
0 commit comments