File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
components/licenses/used/databases Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1818</template >
1919
2020<script >
21+ import _ from ' lodash'
2122import { mapActions } from ' vuex'
2223
2324export default {
@@ -73,7 +74,7 @@ export default {
7374 licenseID: this .licenseID ,
7475 status: this .status ,
7576 page: this .page ,
76- type: this .type ,
77+ type: _ . includes ( this . licenseID , ' ERC ' ) ? ' oracle ' : this .type ,
7778 comment: this .status ? message : ' ' ,
7879 }
7980
Original file line number Diff line number Diff line change @@ -260,8 +260,8 @@ export const setFullPartNumber = (data) => {
260260 _ . map ( data , ( val ) => {
261261 let full = ''
262262 let id = val . licenseTypeID
263- let description = val . description || val . itemDescription
264- let metric = val . metric
263+ let description = val . description || val . itemDescription || '-'
264+ let metric = val . metric || '-'
265265
266266 if ( id && description ) {
267267 full = `${ id } - ${ description } `
You can’t perform that action at this time.
0 commit comments