Fixed deepscan analysis warnings

This commit is contained in:
Matthias Bilger 2023-01-22 15:50:02 +01:00
parent 4cb3332e3e
commit 1e84f51825
2 changed files with 2 additions and 4 deletions

View File

@ -135,9 +135,7 @@ export default {
},
filter_results(value) {
if (!this.options.filters) return true;
let useEntry = true;
useEntry = useEntry
&& (
let useEntry = (
(!this.options.filters.line)
|| this.ensure_array(this.options.filters.line).includes(value.label)
);

View File

@ -108,7 +108,7 @@ export default {
if (s.length < 2) s = `0${s}`;
return s;
}
return `${Math.floor(val / 3600000, 0)}:${ii(Math.floor(val / 60000, 0))}`;
return `${Math.floor(val / 3600000)}:${ii(Math.floor(val / 60000))}`;
},
},
computed: {