added some streamline whitelabel stuff

This commit is contained in:
Carter 2025-06-12 15:52:01 -06:00
parent fc5ce33445
commit d684f6c39a
10 changed files with 45 additions and 5 deletions

View file

@ -102,6 +102,8 @@ export default function Devices() {
const [limit, setLimit] = useState(10);
const [page, setPage] = useState(0);
const [{ user }] = useGlobalState()
const [order, setOrder] = useState<"asc" | "desc">(() => {
// Load from sessionStorage on initial render
const savedOrder = sessionStorage.getItem('order');
@ -585,6 +587,7 @@ export default function Devices() {
}
const provisionButton= () => {
if (!user.allowedTo("provision")) return null
return (
<Tooltip title="Provision Device">
<IconButton onClick={openProvisionDialog} aria-label="Provision Device">