Enable vue/return-in-computed-property and add explicit fallback returns
Co-Authored-By: Codex <codex@openai.com>
This commit is contained in:
@@ -195,6 +195,7 @@ const caseData = computed(() => {
|
||||
});
|
||||
return data;
|
||||
}
|
||||
return [];
|
||||
});
|
||||
|
||||
const columnData = computed(() => {
|
||||
|
||||
@@ -428,8 +428,9 @@ const valueData = computed(() => {
|
||||
item.type === selectedAttName.value.type &&
|
||||
item.key === selectedAttName.value.key,
|
||||
);
|
||||
return data;
|
||||
return data ?? null;
|
||||
}
|
||||
return null;
|
||||
});
|
||||
|
||||
// Compute slider data; time format: millisecond timestamps
|
||||
|
||||
@@ -177,6 +177,8 @@ const disabledSave = computed(() => {
|
||||
return !(
|
||||
conformanceFilterTempCheckId.value || conformanceLogTempCheckId.value
|
||||
);
|
||||
default:
|
||||
return true;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -560,6 +560,7 @@ const allFiles = computed(() => {
|
||||
);
|
||||
return sortFiles;
|
||||
}
|
||||
return [];
|
||||
});
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user