mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-09 15:54:47 -07:00
parent
0994d10410
commit
c4bf9eb61c
61 changed files with 207 additions and 737 deletions
|
|
@ -7,6 +7,7 @@ import { ModeratorService } from 'api';
|
|||
import { AuthGuard, ModGuard } from 'components';
|
||||
import { SearchForm } from 'forms';
|
||||
import { ServerDispatch, ServerSelectors, ServerStateLogs } from 'store';
|
||||
import { LogFilters } from 'types';
|
||||
|
||||
import LogResults from './LogResults';
|
||||
import './Logs.css';
|
||||
|
|
@ -24,7 +25,7 @@ class Logs extends Component<LogsTypes> {
|
|||
ServerDispatch.clearLogs();
|
||||
}
|
||||
|
||||
onSubmit(fields) {
|
||||
onSubmit(fields: LogFilters) {
|
||||
const trimmedFields: any = this.trimFields(fields);
|
||||
|
||||
const { userName, ipAddress, gameName, gameId, message, logLocation } = trimmedFields;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue