add better hint how to query by user id

This commit is contained in:
gempir 2022-09-22 21:09:52 +02:00
parent fe3581a04e
commit d7de6491ea
1 changed files with 2 additions and 2 deletions

View File

@ -61,9 +61,9 @@ export function Filters() {
defaultValue={state.currentChannel}
getOptionLabel={(channel: string) => channel}
clearOnBlur={false}
renderInput={(params) => <TextField {...params} name="channel" label="channel" variant="filled" autoFocus={state.currentChannel === null} />}
renderInput={(params) => <TextField {...params} name="channel" label="channel or id:123" variant="filled" autoFocus={state.currentChannel === null} />}
/>
<TextField error={state.error} name="username" label="username" variant="filled" autoComplete="off" defaultValue={state.currentUsername} autoFocus={state.currentChannel !== null && state.currentUsername === null} />
<TextField error={state.error} name="username" label="username or id:123" variant="filled" autoComplete="off" defaultValue={state.currentUsername} autoFocus={state.currentChannel !== null && state.currentUsername === null} />
<Button variant="contained" color="primary" size="large" type="submit">load</Button>
<Settings />
<Docs />