|
@@ -179,7 +179,7 @@ export default defineComponent({
|
|
|
)
|
|
|
partColumns.value = partList.map((item: any, index: number) => {
|
|
|
const instrumentName = getInstrumentName(item.track)
|
|
|
- const xmlIndex = staffData.partNames.findIndex((name: any) => name === item.track)
|
|
|
+ const xmlIndex = staffData.partNames.findIndex((name: any) => name?.trim() === item.track)
|
|
|
return {
|
|
|
text: item.track + (instrumentName ? `(${instrumentName})` : ''),
|
|
|
instrumentName: instrumentName,
|