add user filtering
This commit is contained in:
parent
76616461e9
commit
ca75891668
4 changed files with 39 additions and 0 deletions
|
|
@ -70,6 +70,7 @@ const FilteringTab = {
|
|||
checkRegexValid (id) {
|
||||
const filter = this.muteFiltersObject[id]
|
||||
if (filter.type !== 'regexp') return true
|
||||
if (filter.type !== 'user_regexp') return true
|
||||
const { value } = filter
|
||||
let valid = true
|
||||
try {
|
||||
|
|
|
|||
|
|
@ -128,6 +128,12 @@
|
|||
<option value="regexp">
|
||||
{{ $t('settings.filter.regexp') }}
|
||||
</option>
|
||||
<option value="user">
|
||||
{{ $t('settings.filter.user') }}
|
||||
</option>
|
||||
<option value="user_regexp">
|
||||
{{ $t('settings.filter.user_regexp') }}
|
||||
</option>
|
||||
</Select>
|
||||
</div>
|
||||
<div class="filter-value filter-field">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue