|
@@ -2,8 +2,8 @@ import {getMapValueByKey} from "@/utils/objectUtil";
|
|
|
import {clientType,} from "@/utils/constant";
|
|
|
|
|
|
export const getOwnerName = (musicSheetExtend: any, sourceType: string) => {
|
|
|
- if (musicSheetExtend == 'PLATFORM') {
|
|
|
- return;
|
|
|
+ if (sourceType == 'PLATFORM') {
|
|
|
+ return "--"
|
|
|
}
|
|
|
let ownerName = '';
|
|
|
|
|
@@ -19,8 +19,6 @@ export const getOwnerName = (musicSheetExtend: any, sourceType: string) => {
|
|
|
let typeName = getMapValueByKey(musicSheetExtend.clientType, new Map(Object.entries(clientType)));
|
|
|
typeName = typeName ? '-' + typeName : '';
|
|
|
ownerName += ' (' + appName + typeName + ')'
|
|
|
- }else if(sourceType == 'PLATFORM'){
|
|
|
- return "--"
|
|
|
}
|
|
|
}
|
|
|
return ownerName;
|