From 0dcef0d4d35cadd40ef908c2de3396cc56721949 Mon Sep 17 00:00:00 2001
From: schneefux <schneefux+commit@schneefux.xyz>
Date: Sun, 17 Jun 2018 14:34:02 +0200
Subject: Adjust TalentTable to fit ReportTable's UX

---
 src/ReportTable.vue | 10 ----------
 1 file changed, 10 deletions(-)

(limited to 'src/ReportTable.vue')

diff --git a/src/ReportTable.vue b/src/ReportTable.vue
index 8a0d617..5c78277 100644
--- a/src/ReportTable.vue
+++ b/src/ReportTable.vue
@@ -12,9 +12,6 @@
           <b-dropdown-item v-for="rarity in RARITIES" :key="rarity" :value="rarity">{{ rarity }} Talents</b-dropdown-item>
         </b-dropdown>
       </p>
-
-      <b-input placeholder="Search…" type="search" icon="magnify" v-model="filterName"></b-input>
-
     </b-field>
 
     <b-field>
@@ -119,7 +116,6 @@ export default Vue.component('report-table', {
       const giveTrue = (x) => true;
       const filters = [
         this.filterRarity != ''? (entry) => maps.getTalentRarity(entry.Talent) == this.filterRarity : giveTrue,
-        this.filterName   != ''? (entry) => maps.getHero(entry.Actor).includes(this.filterName) || maps.getTalentName(entry.Talent).includes(this.filterName) : giveTrue,
         !this.filterLowPickrate? (entry) => !entry.SampleTooSmall : giveTrue,
       ];
       const and = (a, b) => a && b;
@@ -129,12 +125,6 @@ export default Vue.component('report-table', {
     totalPicks: function() {
       return ReportService.getTotalPicks(this.selectedMode);
     },
-    playersPerMatch: function() {
-      return maps.playersPerMatch(this.selectedMode);
-    },
-    hasTalents: function() {
-      return maps.hasTalents(this.selectedMode);
-    },
   },
   components: {
     HeroImage,
-- 
cgit v1.3.1

