We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c99e4b1 + 5b4c6d4 commit 515a930Copy full SHA for 515a930
1 file changed
src/components/panels/edit/modals/NacoStubCreateModal.vue
@@ -320,6 +320,8 @@
320
}
321
322
323
+ console.info("this.oneXXParts: ", this.oneXXParts)
324
+
325
326
let advMode = this.preferenceStore.returnValue('--b-edit-complex-nar-advanced-mode')
327
// console.log("additonalFields",additonalFields)
@@ -700,8 +702,13 @@
700
702
701
703
if (dollarKey.d){
704
- dollarKey.d = dollarKey.d.replace(":", "")
- let lifeDates = dollarKey.d.split('-')
705
+ let lifeDates = []
706
+ if (dollarKey.d.includes(":")){
707
+ let temp = dollarKey.d.replace(":", "")
708
+ lifeDates = temp.split('-')
709
+ } else {
710
+ lifeDates = dollarKey.d.split('-')
711
+ }
712
713
// if the first part is empty, or starts with a YYYY build the 046, otherwise don't
714
let dateCheck = /^[0-9]{4}/.test(lifeDates[0]) || lifeDates[0] == ""
0 commit comments