import React, { useContext } from "react"; import { useAccount } from "../model/account"; import MasterConfigTree from "./MasterConfigTree"; import PageLayout from "./PageLayout"; export default function SlavesPage() { let account = useAccount(); return

Master

{account.hasPermission("core.master.get_config") && }
; };