Enable queryKey & queryKeys on Badge Hub dashboard > Query
This commit is contained in:
parent
f1b12ad56d
commit
12a95097f6
@ -14,8 +14,8 @@ export const QUERY_LIST: QueryListItem[] = [
|
|||||||
{ id: 'config', name: 'Config', description: 'View current config' },
|
{ id: 'config', name: 'Config', description: 'View current config' },
|
||||||
{ id: 'getBadge', name: 'Query Badge', description: 'Query a badge by ID' },
|
{ id: 'getBadge', name: 'Query Badge', description: 'Query a badge by ID' },
|
||||||
{ id: 'getBadges', name: 'Query Badges', description: 'Query a list of badges' },
|
{ id: 'getBadges', name: 'Query Badges', description: 'Query a list of badges' },
|
||||||
// { id: 'getKey', name: 'Query Key', description: 'Query a key by ID to see if it's whitelisted' },
|
{ id: 'getKey', name: 'Query Key', description: 'Query a key by ID to see if it's whitelisted' },
|
||||||
// { id: 'getKeys', name: 'Query Keys', description: 'Query the list of whitelisted keys' },
|
{ id: 'getKeys', name: 'Query Keys', description: 'Query the list of whitelisted keys' },
|
||||||
]
|
]
|
||||||
|
|
||||||
export interface DispatchQueryProps {
|
export interface DispatchQueryProps {
|
||||||
|
@ -154,7 +154,7 @@ const BadgeHubQueryPage: NextPage = () => {
|
|||||||
))}
|
))}
|
||||||
</select>
|
</select>
|
||||||
</FormControl>
|
</FormControl>
|
||||||
<Conditional test={type === 'getBadge' || type === 'getKey'}>
|
<Conditional test={type === 'getBadge' || type === 'getKey' || type === 'getKeys'}>
|
||||||
<NumberInput {...idState} />
|
<NumberInput {...idState} />
|
||||||
</Conditional>
|
</Conditional>
|
||||||
<Conditional test={type === 'getKey'}>
|
<Conditional test={type === 'getKey'}>
|
||||||
|
Loading…
Reference in New Issue
Block a user