mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-10-12 15:04:04 +00:00
Bugfix: wrong key value order
This commit is contained in:
@@ -188,7 +188,7 @@ export default {
|
||||
this.data = result.data;
|
||||
} catch(error) {
|
||||
const hasEmptyUserValues = Object.entries(this.config.vars)
|
||||
.some(([v, key]) => {
|
||||
.some(([key, v]) => {
|
||||
if (v.type != 'user')
|
||||
return false;
|
||||
if (!this.config.uservars)
|
||||
|
||||
@@ -137,7 +137,7 @@ export default {
|
||||
return this.hasErrors = true;
|
||||
|
||||
const hasEmptyUserValues = Object.entries(this.config.vars)
|
||||
.some(([v, key]) => {
|
||||
.some(([key, v]) => {
|
||||
if (v.type != 'user')
|
||||
return false;
|
||||
if (!this.config.uservars)
|
||||
|
||||
Reference in New Issue
Block a user