Browse Source

Merge branch 'iteration-20240612'

lex 10 tháng trước cách đây
mục cha
commit
8034ae1bae
1 tập tin đã thay đổi với 4 bổ sung3 xóa
  1. 4 3
      src/tenant/music/music-detail/new-index.tsx

+ 4 - 3
src/tenant/music/music-detail/new-index.tsx

@@ -707,9 +707,10 @@ export default defineComponent({
         staffData.partList = instrumentSort(staffData.partList)
         staffData.partXmlIndex = staffData.partList[0].index || 0
 
-        staffData.instrumentName = getInstrumentName(
-          staffData.partList[staffData.partIndex]?.track
-        )
+        staffData.instrumentName =
+          musicDetail.value?.musicSheetType === 'CONCERT'
+            ? getInstrumentName(staffData.partList[staffData.partIndex]?.track)
+            : ''
 
         console.log(staffData.partList, 'staffData', staffData.xmlPartList)
       } catch (error) {