You've already forked AstralRinth
forked from didirus/AstralRinth
Search pagination fix (#800)
* Fix account tool tip displaying in the wrong place * Set page to one after search
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
<div
|
<div
|
||||||
v-if="mode !== 'isolated'"
|
v-if="mode !== 'isolated'"
|
||||||
ref="button"
|
ref="button"
|
||||||
v-tooltip="'Minecraft accounts'"
|
v-tooltip.right="'Minecraft accounts'"
|
||||||
class="button-base avatar-button"
|
class="button-base avatar-button"
|
||||||
:class="{ expanded: mode === 'expanded' }"
|
:class="{ expanded: mode === 'expanded' }"
|
||||||
@click="showCard = !showCard"
|
@click="showCard = !showCard"
|
||||||
|
|||||||
@@ -542,6 +542,8 @@ const ascending = ref(true)
|
|||||||
const sortColumn = ref('Name')
|
const sortColumn = ref('Name')
|
||||||
const currentPage = ref(1)
|
const currentPage = ref(1)
|
||||||
|
|
||||||
|
watch(searchFilter, () => currentPage.value = 1)
|
||||||
|
|
||||||
const selected = computed(() =>
|
const selected = computed(() =>
|
||||||
Array.from(selectionMap.value)
|
Array.from(selectionMap.value)
|
||||||
.filter((args) => {
|
.filter((args) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user