user moderation panel #211

Open
nbsp wants to merge 11 commits from nbsp/pleroma-fe:feat/moderation into develop
2 changed files with 8 additions and 1 deletions
Showing only changes of commit 86f0d09276 - Show all commits

View file

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

View file

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