Merge pull request #722 from edewit/issue-650

fixing issue
This commit is contained in:
mfrances17 2021-06-23 11:00:00 -04:00 committed by GitHub
commit 80fc50e642
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -194,13 +194,14 @@ export const MapperList = ({ clientScope, refresh }: MapperListProps) => {
<ListEmptyState
message={t("common:emptyMappers")}
instructions={t("common:emptyMappersInstructions")}
primaryActionText={t("common:emptyPrimaryAction")}
onPrimaryAction={() => toggleAddMapperDialog(true)}
secondaryActions={[
{
text: t("common:emptyPrimaryAction"),
onClick: () => toggleAddMapperDialog(true),
},
{
text: t("emptySecondaryAction"),
onClick: () => toggleAddMapperDialog(false),
type: ButtonVariant.secondary,
},
]}
/>