merged streamline stuff

This commit is contained in:
Carter 2025-06-13 14:37:23 -06:00
commit 7aca89d715
13 changed files with 219 additions and 12 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">