mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-12-07 00:36:50 +00:00
Permissions polish for restricted users
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
import { HasPermission } from "src/components";
|
||||
import { DEAD_HOSTS, VIEW } from "src/modules/Permissions";
|
||||
import TableWrapper from "./TableWrapper";
|
||||
|
||||
const DeadHosts = () => {
|
||||
return (
|
||||
<HasPermission permission="deadHosts" type="view" pageLoading loadingNoLogo>
|
||||
<HasPermission section={DEAD_HOSTS} permission={VIEW} pageLoading loadingNoLogo>
|
||||
<TableWrapper />
|
||||
</HasPermission>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user