Adds missing IDs to progress loader, refined DnsServer comp

This commit is contained in:
Alicia Sykes 2023-07-20 22:49:49 +01:00
parent 9df4528d19
commit e0d33ea9c5
2 changed files with 4 additions and 2 deletions

View File

@ -1,7 +1,7 @@
import { Card } from 'components/Form/Card'; import { Card } from 'components/Form/Card';
import Heading from 'components/Form/Heading'; import Heading from 'components/Form/Heading';
import Row, { ExpandableRow, RowProps } from 'components/Form/Row'; import Row from 'components/Form/Row';
import colors from 'styles/colors'; import colors from 'styles/colors';
const cardStyles = ` const cardStyles = `
@ -15,7 +15,6 @@ const cardStyles = `
const DnsServerCard = (props: {data: any, title: string, actionButtons: any }): JSX.Element => { const DnsServerCard = (props: {data: any, title: string, actionButtons: any }): JSX.Element => {
const dnsSecurity = props.data; const dnsSecurity = props.data;
console.log(dnsSecurity);
return ( return (
<Card heading={props.title} actionButtons={props.actionButtons} styles={cardStyles}> <Card heading={props.title} actionButtons={props.actionButtons} styles={cardStyles}>
{dnsSecurity.dns.map((dns: any, index: number) => { {dnsSecurity.dns.map((dns: any, index: number) => {

View File

@ -186,6 +186,9 @@ const jobNames = [
'headers', 'headers',
'domain', 'domain',
'dns', 'dns',
'dns-server',
'domain-lookup',
'tech-stack',
'hosts', 'hosts',
'lighthouse', 'lighthouse',
'cookies', 'cookies',