Mercurial > gemma
comparison 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 |
comparison
equal
deleted
inserted
replaced
3181:c122a064fd5e | 3182:77fc44ad05e3 |
---|---|
21 { id: 'properties.from', title: `${chainageLabel}`, width: '135px' } | 21 { id: 'properties.from', title: `${chainageLabel}`, width: '135px' } |
22 ]" | 22 ]" |
23 /> | 23 /> |
24 <UITableBody | 24 <UITableBody |
25 :data="filteredBottlenecks() | sortTable(sortColumn, sortDirection)" | 25 :data="filteredBottlenecks() | sortTable(sortColumn, sortDirection)" |
26 :maxHeight="(showSplitscreen ? 18 : 35) + 'rem'" | 26 maxHeight="35rem" |
27 :isActive="item => item === this.openBottleneck" | 27 :isActive="item => item === this.openBottleneck" |
28 > | 28 > |
29 <template v-slot:row="{ item: bottleneck }"> | 29 <template v-slot:row="{ item: bottleneck }"> |
30 <div class="table-cell truncate text-left" style="width: 230px"> | 30 <div class="table-cell truncate text-left" style="width: 230px"> |
31 <a href="#" @click="selectBottleneck(bottleneck)">{{ | 31 <a href="#" @click="selectBottleneck(bottleneck)">{{ |
99 openBottleneckSurveys: null, | 99 openBottleneckSurveys: null, |
100 loading: null | 100 loading: null |
101 }; | 101 }; |
102 }, | 102 }, |
103 computed: { | 103 computed: { |
104 ...mapState("application", [ | 104 ...mapState("application", ["searchQuery", "showSearchbarLastState"]), |
105 "searchQuery", | |
106 "showSearchbarLastState", | |
107 "showSplitscreen" | |
108 ]), | |
109 ...mapState("bottlenecks", ["bottlenecksList"]), | 105 ...mapState("bottlenecks", ["bottlenecksList"]), |
110 bottlenecksLabel() { | 106 bottlenecksLabel() { |
111 return this.$gettext("Bottlenecks"); | 107 return this.$gettext("Bottlenecks"); |
112 }, | 108 }, |
113 countryLabel() { | 109 countryLabel() { |