1
1
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:
2021-03-05 17:10:52 +01:00
parent 07f60c3917
commit 4862d51fba
3 changed files with 5 additions and 2 deletions

View File

@ -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) {