show user-scope icon for ios and ipados (#50715)

This commit is contained in:
Magnus Jensen
2026-08-07 10:00:23 +02:00
committed by GitHub
parent b5940c8eca
commit 51d9f493ef
2 changed files with 2 additions and 7 deletions
@@ -0,0 +1 @@
- Fixed an issue where the user-scoped icon wasn't showing for iOS and iPadOS hosts.
@@ -64,16 +64,10 @@ const generateTableConfig = (
disableSortBy: true,
accessor: "name",
Cell: (cellProps: ITableStringCellProps) => {
let scope = cellProps.row.original.scope;
if (isIPadOrIPhone(cellProps.row.original.platform)) {
scope = null; // Don't show user-scoped icon for iOS/iPadOS profiles, since we don't support user channels.
}
return (
<OSSettingsNameCell
profileName={cellProps.cell.value}
scope={scope}
scope={cellProps.row.original.scope}
managedAccount={cellProps.row.original.managed_local_account}
/>
);