Skip to content

Commit e17f910

Browse files
Removing support for configuring SPDX from frontend - DependencyTrack/dependency-track#1053
1 parent e8c38a1 commit e17f910

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

src/views/administration/configuration/BomFormats.vue

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55
<div>
66
<c-switch color="primary" v-model="isCycloneDXEnabled" label v-bind="labelIcon" />{{$t('admin.enable_bom_cyclonedx')}}
77
</div>
8-
<div>
9-
<c-switch color="primary" v-model="isSPDXEnabled" label v-bind="labelIcon" />{{$t('admin.enable_bom_spdx')}}
10-
</div>
118
</b-card-body>
129
<b-card-footer>
1310
<b-button variant="outline-primary" class="px-4" @click="saveChanges">{{ $t('message.update') }}</b-button>
@@ -30,15 +27,13 @@
3027
},
3128
data() {
3229
return {
33-
isCycloneDXEnabled: false,
34-
isSPDXEnabled: false
30+
isCycloneDXEnabled: false
3531
}
3632
},
3733
methods: {
3834
saveChanges: function() {
3935
this.updateConfigProperties([
40-
{groupName: 'artifact', propertyName: 'cyclonedx.enabled', propertyValue: this.isCycloneDXEnabled},
41-
{groupName: 'artifact', propertyName: 'spdx.enabled', propertyValue: this.isSPDXEnabled}
36+
{groupName: 'artifact', propertyName: 'cyclonedx.enabled', propertyValue: this.isCycloneDXEnabled}
4237
]);
4338
}
4439
},
@@ -51,8 +46,6 @@
5146
switch (item.propertyName) {
5247
case "cyclonedx.enabled":
5348
this.isCycloneDXEnabled = enabled; break;
54-
case "spdx.enabled":
55-
this.isSPDXEnabled = enabled; break;
5649
}
5750
}
5851
});

0 commit comments

Comments
 (0)