diff --git a/src/settings/DevicesPage.jsx b/src/settings/DevicesPage.jsx
index 08790cbdf3..5e204c3c80 100644
--- a/src/settings/DevicesPage.jsx
+++ b/src/settings/DevicesPage.jsx
@@ -14,7 +14,7 @@ import CollectionActions from './components/CollectionActions';
import TableShimmer from '../common/components/TableShimmer';
import SearchHeader, { filterByKeyword } from './components/SearchHeader';
import { formatTime } from '../common/util/formatter';
-import { useAdministrator, useDeviceReadonly } from '../common/util/permissions';
+import { useDeviceReadonly, useManager } from '../common/util/permissions';
import useSettingsStyles from './common/useSettingsStyles';
import DeviceUsersValue from './components/DeviceUsersValue';
@@ -25,7 +25,7 @@ const DevicesPage = () => {
const groups = useSelector((state) => state.groups.items);
- const admin = useAdministrator();
+ const manager = useManager();
const deviceReadonly = useDeviceReadonly();
const [timestamp, setTimestamp] = useState(Date.now());
@@ -73,7 +73,7 @@ const DevicesPage = () => {
{t('deviceModel')}
{t('deviceContact')}
{t('userExpirationTime')}
- {admin && {t('settingsUsers')}}
+ {manager && {t('settingsUsers')}}
@@ -87,7 +87,7 @@ const DevicesPage = () => {
{item.model}
{item.contact}
{formatTime(item.expirationTime, 'date')}
- {admin && }
+ {manager && }
{
/>
- )) : ()}
+ )) : ()}
-
+
{
)}
label={t('notificationAlways')}
labelPlacement="start"
- disabled={!admin}
+ disabled={!manager}
/>