user moderation panel #211

Closed
Ghost wants to merge 11 commits from (deleted):feat/moderation into develop
2 changed files with 8 additions and 1 deletions
Showing only changes of commit 86f0d09276 - Show all commits

Move to page one if changing query parameters

Sol Fisher Romanoff 2022-11-14 19:20:40 +02:00
No known key found for this signature in database
GPG key ID: 9D3F2B64F2341B62

View file

@ -61,6 +61,7 @@ const UsersTab = {
this.accountType[type] = true
}
this.page = 1
this.query()
},
setStatus (status = false) {
@ -69,6 +70,7 @@ const UsersTab = {
this.status[status] = true
}
this.page = 1
this.query()
},
setActorType (type = false) {
@ -77,6 +79,11 @@ const UsersTab = {
this.actorType[type] = true
}
this.page = 1
this.query()
},
search () {
this.page = 1
this.query()
},
prevPage () {

View file

@ -15,7 +15,7 @@
v-model="searchTerm"
class="search-input"
:placeholder="$t('nav.search')"
@keyup.enter="query()"
@keyup.enter="search()"
/>
</div>
<Popover