From b09d7a9f73e9b28425326227ce8fc4c3b72fb14d Mon Sep 17 00:00:00 2001
From: schneefux <schneefux+commit@schneefux.xyz>
Date: Wed, 30 May 2018 20:12:01 +0200
Subject: Big Routing/Tabbing/ReportService refactor, add ad blocks

---
 src/Home.vue | 41 -----------------------------------------
 1 file changed, 41 deletions(-)
 delete mode 100644 src/Home.vue

(limited to 'src/Home.vue')

diff --git a/src/Home.vue b/src/Home.vue
deleted file mode 100644
index b18a3d3..0000000
--- a/src/Home.vue
+++ /dev/null
@@ -1,41 +0,0 @@
-<template>
-    <b-tabs v-model="tabIndex" expanded type="is-toggle">
-      <b-tab-item v-for="mode in modes" :label="getMode(mode)" :key="mode">
-        <mode-tab :reportService="reportService"></mode-tab>
-      </b-tab-item>
-    </b-tabs>
-  </div>
-</template>
-
-
-<script>
-import Vue from 'vue';
-import ModeTab from './ModeTab.vue';
-import RouterParamMixin from './RouterParamMixin.js';
-import * as maps from './maps/maps';
-
-export default Vue.component('home', {
-  props: [ 'reportService' ],
-  mixins: [ RouterParamMixin ],
-  data: function() {
-    return {
-      modes: this.reportService.getModes(),
-      getMode: maps.getMode,
-    };
-  },
-  computed: {
-    tabIndex: {
-      get: function() {
-        return this.reportService.getModes().indexOf(this.selectedMode);
-      },
-      set: function(index) {
-        const mode = this.reportService.getModes()[index];
-        this.selectedMode = mode;
-      },
-    },
-  },
-  components: {
-    ModeTab,
-  },
-});
-</script>
-- 
cgit v1.3.1

