File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,8 +4,9 @@ VITE_OAUTH_LOGOUT=/api/v1/oauth/logout
44VITE_PUBLIC_API_ENDPOINT = https://localhost:3333/api/public/v1
55VITE_PUBLIC_UI_URL = https://localhost:3000/cli
66VITE_USE_NEW_WIZARD = true
7- VITE_USE_FUTURE_FOSS = false
8- VITE_USE_FUTURE_PRODUCT = false
7+ VITE_USE_FUTURE_FOSS = true
8+ VITE_USE_FUTURE_PRODUCT = true
99VITE_USE_FUTURE_IT = true
1010VITE_PERSONAL_ACCESS_TOKEN = true
1111VITE_USE_REFACTORED_APPROVAL = true
12+
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ const {isAudited} = useApprovalCheck();
3636 :items =" props.channels"
3737 :disabled =" props.noFOSS"
3838 hide-details
39+ clearable
3940 autocomplete =" off" />
4041 <v-autocomplete
4142 v-model =" selectedSbom"
@@ -44,6 +45,7 @@ const {isAudited} = useApprovalCheck();
4445 item-title =" name"
4546 :label =" t('SELECT_SBOM_DELIVERY')"
4647 hide-details
48+ clearable
4749 autocomplete =" off"
4850 :items =" props.sboms" >
4951 <template v-slot :item =" {item , props: itemProps } " >
Original file line number Diff line number Diff line change @@ -78,6 +78,8 @@ const {
7878
7979const markedApprovableSpdx = computed (() => projectModel .value .approvablespdx );
8080
81+ const noSbomSelected = computed (() => ! projectModel .value .isGroup && selectedSbom .value === null );
82+
8183const getChannelSboms = (versionKey : string ): SpdxFile [] => {
8284 const versionEntry = sbomStore .getAllSBOMs .find ((entry ) => entry .versionKey === versionKey );
8385 return (versionEntry ?.spdxFileHistory ?? []).map ((sbom , index ) => ({... sbom , isRecent: index === 0 }));
@@ -442,6 +444,7 @@ defineExpose({open});
442444 :c3 =" c3 "
443445 :c4 =" c4 "
444446 :c5 =" c5 "
447+ @update :noFOSS =" noFOSS = $event "
445448 @update :c1 =" c1 = $event "
446449 @update :c2 =" c2 = $event "
447450 @update :c3 =" c3 = $event "
@@ -465,6 +468,7 @@ defineExpose({open});
465468 v-if =" ! isDeniedOrUnasserted "
466469 size="small"
467470 variant="flat"
471+ :disabled =" noSbomSelected && ! noFOSS "
468472 @click =" doDialogAction "
469473 :text =" t (' BTN_GENERATE_FOSS_DD' )" />
470474
You can’t perform that action at this time.
0 commit comments