|
@@ -6,7 +6,7 @@ export const addDiagnostic = (state, action) => {
|
|
|
|
|
|
export const delDiagnostic = (state, action) => {
|
|
|
const res = JSON.parse(JSON.stringify(state));
|
|
|
- res.diagnosticList = res.diagnosticList.filter(item => (item.conceptId !== action.item.conceptId && item.name !== action.item.name));
|
|
|
+ res.diagnosticList = res.diagnosticList.filter(item => (item.conceptId !== action.item.conceptId || item.name !== action.item.name));
|
|
|
return res;
|
|
|
}
|
|
|
|