Skip to content

Commit

Permalink
Fix unreachable code
Browse files Browse the repository at this point in the history
Signed-off-by: RBickert <[email protected]>
  • Loading branch information
rbt-mm committed Feb 22, 2024
1 parent c4a0e90 commit 52e14b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/globalAudit/VulnerabilityAuditByOccurrence.vue
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ import {loadUserPreferencesForBootstrapTable} from "@/shared/utils";
return this.cvssv2From ? (!isNaN(this.cvssv2From) && (!this.cvssv2To || !isNaN(this.cvssv2To) || this.cvssv2From <= this.cvssv2To) && this.cvssv2From <= 10 && this.cvssv2From >= 0) : null;
},
cvssv2ToState() {
return this.cvssv2To ? (!isNaN(this.cvssv2To) && (!this.cvssv2From || !isNaN(this.cvssv2From) || this.cvssv2To >= this.cvssv2From) && this.cvssv2To <= 10 && this.cvssv2To >= 0) : null;2
return this.cvssv2To ? (!isNaN(this.cvssv2To) && (!this.cvssv2From || !isNaN(this.cvssv2From) || this.cvssv2To >= this.cvssv2From) && this.cvssv2To <= 10 && this.cvssv2To >= 0) : null;
},
cvssv3UpperLimit: function () {
return this.cvssv3To ? this.cvssv3To : 10;
Expand Down

0 comments on commit 52e14b0

Please sign in to comment.