diff --git a/src/webparts/organizationChart/components/OrganizationChart.tsx b/src/webparts/organizationChart/components/OrganizationChart.tsx index 24e03db..f5637f4 100644 --- a/src/webparts/organizationChart/components/OrganizationChart.tsx +++ b/src/webparts/organizationChart/components/OrganizationChart.tsx @@ -3,7 +3,7 @@ import { IOrganizationNode, IUserProfile } from '../OrganizationChartTypes'; import styles from './OrganizationChart.module.scss'; import { IOrganizationChartProps } from './IOrganizationChartProps'; -interface IOrganizationChartState { +export interface IOrganizationChartState { collapsed: { [account: string]: boolean }; } @@ -39,7 +39,7 @@ export default class OrganizationChart extends React.Component 0; return (
  • + aria-selected={false} aria-expanded={hasChildren ? !collapsed : undefined}>
    {this.renderPerson(profile)} {hasChildren &&