mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-21 23:09:27 +02:00
Updated search field error
This commit is contained in:
parent
b1eb36c3bf
commit
9563a5b40c
@ -223,10 +223,10 @@ export default class AdminUiHandler extends FormModalUiHandler {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case AdminMode.SEARCH:
|
case AdminMode.SEARCH:
|
||||||
if (!this.inputs[0].text) { // either username or discordId missing from search panel
|
if (!this.inputs[0].text) { // username missing from search panel
|
||||||
return {
|
return {
|
||||||
error: true,
|
error: true,
|
||||||
errorMessage: this.ERR_REQUIRED_FIELD("username or discord")
|
errorMessage: this.ERR_REQUIRED_FIELD("username")
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user