Fix flowsheet auto-scroll to end
This commit is contained in:
parent
4708e5e0eb
commit
e648988b53
@ -226,7 +226,7 @@
|
||||
},
|
||||
watch: {
|
||||
async resultset(value) {
|
||||
this.$nextTick(() => this.$refs.headers ? this.$refs.headers.scrollIntoView({ block: 'nearest', inline: 'end' }) : null);
|
||||
this.$nextTick(() => (this.$refs.headers) && (this.$refs.headers.length > 0) ? this.$refs.headers[this.$refs.headers.length - 1].scrollIntoView({ block: 'nearest', inline: 'end' }) : null);
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user