feature: the CA certificates and CRLs are always published over HTTP and HTTPS on the status and Manager ports, the Shell page is an entry of the page menu, and the web interface passes its lint.
Release / release (push) Successful in 26s
Release / release (push) Successful in 26s
This commit is contained in:
1 parent
4b5318c676
commit
0cec95c19b
72 files changed
+910
-861
No files matched your search
@@ -40,11 +40,10 @@ export default function ComponentsPanel(props: { onChange?: () => void }) {
|
||||
const [router, setRouter] = useState<Component | null>(null)
|
||||
|
||||
const read = useCallback(async () => {
|
||||
try {
|
||||
setComponents((await request<{ components: Component[] }>('GET', '/components', COMPONENTS_SHAPE)).components)
|
||||
} catch (caught) {
|
||||
setError(`The server did not give its components: ${(caught as Error).message}`)
|
||||
}
|
||||
await request<{ components: Component[] }>('GET', '/components', COMPONENTS_SHAPE).then(
|
||||
(found) => setComponents(found.components),
|
||||
(caught) => setError(`The server did not give its components: ${(caught as Error).message}`),
|
||||
)
|
||||
}, [])
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
Reference in new issue
Block a user