Rename need_confirmed -> unconfirmed
This commit is contained in:
parent
28950a8fb8
commit
58f0c71ee9
2 changed files with 5 additions and 5 deletions
|
@ -37,7 +37,7 @@ const users = {
|
|||
active: false,
|
||||
need_approval: false,
|
||||
deactivated: false,
|
||||
need_confirmed: false
|
||||
unconfirmed: false
|
||||
},
|
||||
passwordResetToken: {
|
||||
token: '',
|
||||
|
@ -155,7 +155,7 @@ const users = {
|
|||
active: false,
|
||||
need_approval: false,
|
||||
deactivated: false,
|
||||
need_confirmed: false
|
||||
unconfirmed: false
|
||||
})
|
||||
},
|
||||
async ClearFilters({ commit, dispatch, state }) {
|
||||
|
@ -317,7 +317,7 @@ const users = {
|
|||
active: false,
|
||||
need_approval: false,
|
||||
deactivated: false,
|
||||
need_confirmed: false
|
||||
unconfirmed: false
|
||||
}
|
||||
const currentFilters = { ...defaultFilters, ...filters }
|
||||
commit('SET_USERS_FILTERS', currentFilters)
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<el-option value="active">{{ $t('usersFilter.active') }}</el-option>
|
||||
<el-option value="deactivated">{{ $t('usersFilter.deactivated') }}</el-option>
|
||||
<el-option value="need_approval">{{ $t('usersFilter.pending') }}</el-option>
|
||||
<el-option value="need_confirmed">{{ $t('usersFilter.unconfirmed') }}</el-option>
|
||||
<el-option value="unconfirmed">{{ $t('usersFilter.unconfirmed') }}</el-option>
|
||||
</el-option-group>
|
||||
</el-select>
|
||||
</template>
|
||||
|
@ -44,7 +44,7 @@ export default {
|
|||
const indexOfActive = this.$data.value.indexOf('active')
|
||||
const indexOfDeactivated = this.$data.value.indexOf('deactivated')
|
||||
const indexOfPending = this.$data.value.indexOf('need_approval')
|
||||
const indexOfUnconfirmed = this.$data.value.indexOf('need_confirmed')
|
||||
const indexOfUnconfirmed = this.$data.value.indexOf('unconfirmed')
|
||||
|
||||
if (this.$data.value.length === filtersQuantity) {
|
||||
return []
|
||||
|
|
Loading…
Reference in a new issue