|
@@ -52,9 +52,12 @@ export const getDiagnosticStr = (state, action) => {
|
|
|
const res = Object.assign({}, state)
|
|
|
const diagnosticList = res.diagnosticList
|
|
|
let diagnosticStr= '';
|
|
|
+ let diagnosticStrNoType = ''
|
|
|
for (let i = 0; i < diagnosticList.length; i++) {
|
|
|
diagnosticStr = diagnosticStr + diagnosticList[i].name + '(' + getDiagType(diagnosticList[i].type) + '); '
|
|
|
+ diagnosticStrNoType = diagnosticStrNoType + diagnosticList[i].name + ';'
|
|
|
}
|
|
|
+ res.diagnosticStrNoType = diagnosticStrNoType
|
|
|
res.diagnosticStr = diagnosticStr
|
|
|
return res;
|
|
|
}
|