Skip to content

Commit

Permalink
Search pagination fix (#800)
Browse files Browse the repository at this point in the history
* Fix account tool tip displaying in the wrong place

* Set page to one after search
  • Loading branch information
BlueZeeKing authored Nov 16, 2023
1 parent 4491d50 commit 01ab507
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion theseus_gui/src/components/ui/AccountsCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div
v-if="mode !== 'isolated'"
ref="button"
v-tooltip="'Minecraft accounts'"
v-tooltip.right="'Minecraft accounts'"
class="button-base avatar-button"
:class="{ expanded: mode === 'expanded' }"
@click="showCard = !showCard"
Expand Down
2 changes: 2 additions & 0 deletions theseus_gui/src/pages/instance/Mods.vue
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,8 @@ const ascending = ref(true)
const sortColumn = ref('Name')
const currentPage = ref(1)
watch(searchFilter, () => currentPage.value = 1)
const selected = computed(() =>
Array.from(selectionMap.value)
.filter((args) => {
Expand Down

0 comments on commit 01ab507

Please sign in to comment.