Fix sidebar buttons width, simplified restriction of technician components in homepage, and adjusted equipment instance status to match backend changes

This commit is contained in:
Keannu Bernasol 2023-12-16 14:59:50 +08:00
parent a6b6925310
commit 1fc6b6ff75

View file

@ -10,11 +10,7 @@ export default function Dashboard() {
<Header label={"Dashboard"} />
<RestrictedComponent allow_only={"Technician"}>
<TechnicianWidgets />
</RestrictedComponent>
<RestrictedComponent allow_only={"Technician"}>
<TechnicianEquipmentButtons />
</RestrictedComponent>
<RestrictedComponent allow_only={"Technician"}>
<TechnicianLogButtons />
</RestrictedComponent>
</div>