anvil/striker-ui/lib/sanitizers/hostsSanitizer.ts

5 lines
155 B
TypeScript
Raw Normal View History

const hostsSanitizer = (data: Array<AnvilStatusHost>): Array<AnvilStatusHost> =>
data?.filter((host) => host.host_uuid);
export default hostsSanitizer;