diff client/src/components/Bottlenecks.vue @ 3182:77fc44ad05e3

client: removed old splitscreen code
author Markus Kottlaender <markus@intevation.de>
date Tue, 07 May 2019 16:20:15 +0200
parents 1ef2f4179d30
children 1253fe15e3e3
line wrap: on
line diff
--- a/client/src/components/Bottlenecks.vue	Tue May 07 14:54:16 2019 +0200
+++ b/client/src/components/Bottlenecks.vue	Tue May 07 16:20:15 2019 +0200
@@ -23,7 +23,7 @@
     />
     <UITableBody
       :data="filteredBottlenecks() | sortTable(sortColumn, sortDirection)"
-      :maxHeight="(showSplitscreen ? 18 : 35) + 'rem'"
+      maxHeight="35rem"
       :isActive="item => item === this.openBottleneck"
     >
       <template v-slot:row="{ item: bottleneck }">
@@ -101,11 +101,7 @@
     };
   },
   computed: {
-    ...mapState("application", [
-      "searchQuery",
-      "showSearchbarLastState",
-      "showSplitscreen"
-    ]),
+    ...mapState("application", ["searchQuery", "showSearchbarLastState"]),
     ...mapState("bottlenecks", ["bottlenecksList"]),
     bottlenecksLabel() {
       return this.$gettext("Bottlenecks");