mirror of https://github.com/Fabio286/antares.git
fix(UI): wrong height in scrolling tables in some cases
This commit is contained in:
parent
07f60c3917
commit
4862d51fba
|
@ -57,6 +57,7 @@
|
|||
:results="results"
|
||||
:tab-uid="tab.uid"
|
||||
:conn-uid="connection.uid"
|
||||
:is-selected="isSelected"
|
||||
mode="query"
|
||||
@update-field="updateField"
|
||||
@delete-selected="deleteSelected"
|
||||
|
|
|
@ -97,7 +97,8 @@ export default {
|
|||
props: {
|
||||
results: Array,
|
||||
connUid: String,
|
||||
mode: String
|
||||
mode: String,
|
||||
isSelected: Boolean
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
|
@ -273,7 +274,7 @@ export default {
|
|||
: [];
|
||||
},
|
||||
resizeResults () {
|
||||
if (this.$refs.resultTable) {
|
||||
if (this.$refs.resultTable && this.isSelected) {
|
||||
const el = this.$refs.tableWrapper;
|
||||
|
||||
if (el) {
|
||||
|
|
|
@ -90,6 +90,7 @@
|
|||
:results="results"
|
||||
:tab-uid="tabUid"
|
||||
:conn-uid="connection.uid"
|
||||
:is-selected="isSelected"
|
||||
mode="table"
|
||||
@update-field="updateField"
|
||||
@delete-selected="deleteSelected"
|
||||
|
|
Loading…
Reference in New Issue