in public/src/components/channelManagement/bannerDeploy/bannerChannelDeployerTable.tsx [23:52]
paddingLeft: spacing(3),
},
}));
interface BannerChannelDeployerTableProps {
channel: BannerChannel;
bannerDeploys?: BannerDeploys;
bannersToRedeploy: BannersToRedeploy;
onRedeployAllClick: (shouldRedeploy: boolean) => void;
onRedeployClick: (region: string, shouldRedeploy: boolean) => void;
}
const BannerChannelDeployerTable: React.FC<BannerChannelDeployerTableProps> = ({
channel,
bannerDeploys,
bannersToRedeploy,
onRedeployAllClick,
onRedeployClick,
}: BannerChannelDeployerTableProps) => {
const classes = useStyles();
const isChannel1 = channel === 'CHANNEL1';
const shouldRedeployAllBanners = Object.values(bannersToRedeploy).every(
shouldRedeploy => shouldRedeploy,
);
const Schedule = (): JSX.Element => (
<div className={classes.schedule}>
This banner is automatically deployed at:
{isChannel1 ? (