There was an error while loading. Please reload this page.
2 parents 8c56909 + 28ffa51 commit 24365abCopy full SHA for 24365ab
1 file changed
src/components/general/CalibTable.vue
@@ -48,9 +48,11 @@ export default {
48
return this.$store.state.calibration.calibrations
49
},
50
filteredCalibrations() {
51
+ const searchTerm = this.search.toLowerCase();
52
+ if (!searchTerm) return this.calibrations;
53
return this.calibrations.filter(calibration =>
54
Object.values(calibration).some(value =>
- value.toLowerCase().includes(this.search.toLowerCase())
55
+ String(value).toLowerCase().includes(searchTerm)
56
)
57
);
58
0 commit comments