mirror of
https://github.com/Lissy93/dashy.git
synced 2024-12-26 10:24:40 +03:00
Fixed deepscan analysis warnings
This commit is contained in:
parent
4cb3332e3e
commit
1e84f51825
@ -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)
|
||||
);
|
||||
|
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user