Skip to content

Commit 01ab507

Browse files
authored
Search pagination fix (#800)
* Fix account tool tip displaying in the wrong place * Set page to one after search
1 parent 4491d50 commit 01ab507

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

theseus_gui/src/components/ui/AccountsCard.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div
33
v-if="mode !== 'isolated'"
44
ref="button"
5-
v-tooltip="'Minecraft accounts'"
5+
v-tooltip.right="'Minecraft accounts'"
66
class="button-base avatar-button"
77
:class="{ expanded: mode === 'expanded' }"
88
@click="showCard = !showCard"

theseus_gui/src/pages/instance/Mods.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -542,6 +542,8 @@ const ascending = ref(true)
542542
const sortColumn = ref('Name')
543543
const currentPage = ref(1)
544544
545+
watch(searchFilter, () => currentPage.value = 1)
546+
545547
const selected = computed(() =>
546548
Array.from(selectionMap.value)
547549
.filter((args) => {

0 commit comments

Comments
 (0)