minor fix
This commit is contained in:
@@ -217,7 +217,7 @@ function main(profiles, args, status=null, error=null) {
|
||||
$('#dateto').valueAsNumber = date.setHours(24 * 7) + date.getTimezoneOffset() * 60 * 1000;
|
||||
$('#all').dispatchEvent(new Event('change'));
|
||||
|
||||
if (Object.hasOwn(args, 'account')) {
|
||||
if (args['account'] && args['password']) {
|
||||
let account = new String(args['account']);
|
||||
let name = account.split('@', 1).pop();
|
||||
name = name.charAt(0).toLocaleUpperCase() + name.slice(1);
|
||||
|
||||
Reference in New Issue
Block a user