Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

🚨 Fix lint warn, indentation in Mvg widget

Alicia Sykes743232e59741
diff --git a/src/components/Widgets/Mvg.vue b/src/components/Widgets/Mvg.vue
index 166eed00..62a45bc6 100644
--- a/src/components/Widgets/Mvg.vue
+++ b/src/components/Widgets/Mvg.vue
@@ -23,7 +23,7 @@
:class="{cancelled: departure.cancelled}">{{ departure.destination }}</div>
<span class="delay"
:class="{'has-delay': departure.realtimeDepartureTime > departure.plannedDepartureTime}"
- >{{ Math.max(0,
+ >{{ Math.max(0,
(departure.realtimeDepartureTime - departure.plannedDepartureTime)/60000) }}</span>
<span class="occupancy"
:class="'occupancy-' + departure.occupancy"
@@ -131,9 +131,9 @@ export default {
filter_results(value) {
if (!this.options.filters) return true;
let useEntry = (
- (!this.options.filters.line)
+ (!this.options.filters.line)
|| this.ensure_array(this.options.filters.line).includes(value.label)
- );
+ );
useEntry = useEntry
&& (
(!this.options.filters.product)