wolyshaw %!s(int64=2) %!d(string=hai) anos
pai
achega
139ed1d3ab
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/views/accompaniment/modals/form.vue

+ 1 - 1
src/views/accompaniment/modals/form.vue

@@ -523,7 +523,7 @@ export default {
       const partList = xmlParse.getElementsByTagName('part-list')?.[0]?.getElementsByTagName('score-part') || []
       const partListNames = Array.from(partList).map(item => item.getElementsByTagName('part-name')?.[0].textContent || '')
       this.xmlFirstSpeed = xmlParse.getElementsByTagName('per-minute')?.[0]?.textContent || ''
-      return partListNames
+      return partListNames.filter(text => text.toLocaleUpperCase() !== 'COMMON')
     },
     inputFile(file) {
       const xmlRead = new FileReader()