Certificates table compliance and other stuff

This commit is contained in:
Jamie Curnow committed 2023-01-16 14:57:14 +10:00
1 parent 9a5cbbba49
commit e890bfcf10
16 files changed
+666 -109

No files matched your search

@@ -1,7 +1,12 @@
import { useEffect, useReducer, useState } from "react";
import { Alert, AlertIcon } from "@chakra-ui/react";
import { EmptyList, SpinnerPage, tableEventReducer } from "components";
import {
EmptyList,
PrettyButton,
SpinnerPage,
tableEventReducer,
} from "components";
import { useAccessLists } from "hooks";
import { intl } from "locale";
@@ -63,6 +68,11 @@ function TableWrapper({ onCreateClick }: TableWrapperProps) {
<EmptyList
title={intl.formatMessage({ id: "create-access-list-title" })}
summary={intl.formatMessage({ id: "create-hint" })}
createButton={
<PrettyButton mt={5} onClick={onCreateClick}>
{intl.formatMessage({ id: "lets-go" })}
</PrettyButton>
}
/>
);
}
+1 -1
View File
@@ -17,7 +17,7 @@ function AccessLists() {
{intl.formatMessage({ id: "access-lists.title" })}
</Heading>
<HStack>
<HelpDrawer section="Access-Lists" />
<HelpDrawer section="AccessLists" />
<PrettyButton size="sm" onClick={() => setCreateShown(true)}>
{intl.formatMessage({ id: "access-list.create" })}
</PrettyButton>