mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-21 14:59:26 +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;
|
||||
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 {
|
||||
error: true,
|
||||
errorMessage: this.ERR_REQUIRED_FIELD("username or discord")
|
||||
errorMessage: this.ERR_REQUIRED_FIELD("username")
|
||||
};
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user