mirror of
https://github.com/Lissy93/dashy.git
synced 2025-07-25 22:55:32 +02:00
Fixed deepscan analysis warnings
This commit is contained in:
parent
4cb3332e3e
commit
1e84f51825
@ -135,9 +135,7 @@ export default {
|
|||||||
},
|
},
|
||||||
filter_results(value) {
|
filter_results(value) {
|
||||||
if (!this.options.filters) return true;
|
if (!this.options.filters) return true;
|
||||||
let useEntry = true;
|
let useEntry = (
|
||||||
useEntry = useEntry
|
|
||||||
&& (
|
|
||||||
(!this.options.filters.line)
|
(!this.options.filters.line)
|
||||||
|| this.ensure_array(this.options.filters.line).includes(value.label)
|
|| this.ensure_array(this.options.filters.line).includes(value.label)
|
||||||
);
|
);
|
||||||
|
@ -108,7 +108,7 @@ export default {
|
|||||||
if (s.length < 2) s = `0${s}`;
|
if (s.length < 2) s = `0${s}`;
|
||||||
return 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: {
|
computed: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user