mirror of
https://github.com/fleetdm/fleet
synced 2026-05-20 23:48:52 +00:00
Bug fix: No matching hosts message (#3652)
This commit is contained in:
parent
4bed4757fb
commit
09efce8ea8
2 changed files with 6 additions and 1 deletions
1
changes/issue-3291-empty-host-message-bug
Normal file
1
changes/issue-3291-empty-host-message-bug
Normal file
|
|
@ -0,0 +1 @@
|
|||
* Fix empty host message when no hosts match search criteria
|
||||
|
|
@ -5,7 +5,11 @@ import React from "react";
|
|||
|
||||
const baseClass = "empty-hosts";
|
||||
|
||||
const EmptyHosts = (pageIndex: number): JSX.Element => {
|
||||
interface IEmptyHostsProps {
|
||||
pageIndex: number;
|
||||
}
|
||||
|
||||
const EmptyHosts = ({ pageIndex }: IEmptyHostsProps): JSX.Element => {
|
||||
return (
|
||||
<div className={`${baseClass}`}>
|
||||
<div className={`${baseClass}__inner`}>
|
||||
|
|
|
|||
Loading…
Reference in a new issue