|
@@ -429,7 +429,7 @@ const refresh = async () => {
|
|
|
// }));
|
|
|
const caseFiles = (caseFilesRes || []).map(item => ({
|
|
|
...item,
|
|
|
- type: item.tabulationId ? 'tabulation' : item.overviewId ? 'overview' : 'old'
|
|
|
+ type: (item.tabulationId && item.overviewId) ? 'overview' : item.tabulationId ? 'tabulation' : 'old'
|
|
|
}));
|
|
|
|
|
|
files.value = [...caseFiles];
|