mirror of
https://github.com/pawelmalak/flame.git
synced 2026-03-09 14:03:11 +08:00
Small bug fixes and UI improvements
This commit is contained in:
@@ -65,7 +65,7 @@ export const CustomQueries = (): JSX.Element => {
|
||||
</Modal>
|
||||
|
||||
<section>
|
||||
{customQueries.length && (
|
||||
{customQueries.length ? (
|
||||
<CompactTable headers={['Name', 'Prefix', 'Actions']}>
|
||||
{customQueries.map((q: Query, idx) => (
|
||||
<Fragment key={idx}>
|
||||
@@ -82,6 +82,8 @@ export const CustomQueries = (): JSX.Element => {
|
||||
</Fragment>
|
||||
))}
|
||||
</CompactTable>
|
||||
) : (
|
||||
<></>
|
||||
)}
|
||||
|
||||
<Button
|
||||
|
||||
Reference in New Issue
Block a user