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