Skip to content

Commit

Permalink
fix: disable auto scroll when sort is inverted
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando committed Jan 17, 2024
1 parent 9aded9c commit 3a06fc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/nodes-table/ExpandedNode.vue
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@
clearable
>
<template slot="append-outer">
<v-tooltip bottom>
<v-tooltip v-if="!inverseSort" bottom>
<template v-slot:activator="{ on, attrs }">
<v-btn
@click="toggleAutoScroll()"
Expand Down Expand Up @@ -741,7 +741,7 @@ export default {
this.inverseSort = !this.inverseSort
},
async scrollBottom() {
if (!this.autoScroll) {
if (!this.autoScroll || this.inverseSort) {
return
}
const el = this.$refs.eventsList
Expand Down

0 comments on commit 3a06fc4

Please sign in to comment.