File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
src/views/identity/administration Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,9 @@ import CippGraphUserFilter from 'src/components/utilities/CippGraphUserFilter'
15
15
const Offcanvas = ( row , rowIndex , formatExtraData ) => {
16
16
const tenant = useSelector ( ( state ) => state . app . currentTenant )
17
17
const [ ocVisible , setOCVisible ] = useState ( false )
18
- const viewLink = `/identity/administration/users/view?userId=${ row . id } &tenantDomain=${ tenant . defaultDomainName } &userEmail=${ row . userPrincipalName } `
18
+ const viewLink = row ?. tenant
19
+ ? `/identity/administration/users/view?userId=${ row . id } &tenantDomain=${ row . Tenant } &userEmail=${ row . userPrincipalName } `
20
+ : `/identity/administration/users/view?userId=${ row . id } &tenantDomain=${ tenant . defaultDomainName } &userEmail=${ row . userPrincipalName } `
19
21
const editLink = row ?. tenant
20
22
? `/identity/administration/users/edit?userId=${ row . id } &tenantDomain=${ row . Tenant } `
21
23
: `/identity/administration/users/edit?userId=${ row . id } &tenantDomain=${ tenant . defaultDomainName } `
You can’t perform that action at this time.
0 commit comments