Washington DC - Org Chart

zaneta_cisarova
Tera Contributor

We just upgraded to Washington DC and faced an issue within the Org Chart widget (Organization Chart (EC)).

This is what it looked like in Vancouver:

zaneta_cisarova_0-1721826624304.png

and this is what we got after an upgrade:

zaneta_cisarova_1-1721826729376.png

No styling to the card container at all. For managers it workers fine, but for his reports its like this.

 

To fix this I had to change the HTML code for Organization Chart (EC) widget like this:

 

replace this part:

<!-- Direct report hierarchy -->
    <div id="directReportContainer" ng-if="data.directReports.length > 0 && expandDirectRepotees" role="tabpanel" aria-labelledby="directReportContainer">
      <div ng-repeat="user in data.directReports; track by user.userId" class="flex-display">
        <div ng-include="'primary-card'" class="flex-display" onload="cardType='secondary'"/>

 

with this:

<!-- Direct report hierarchy -->
    <div id="directReportContainer" ng-if="data.directReports.length > 0 && expandDirectRepotees" role="tabpanel" aria-labelledby="directReportContainer">
      <div ng-repeat="user in data.directReports; track by user.userId" class="flex-display">
        <div ng-include="'primary-card'" class="flex-display" onload="cardType='primary'"/>

 

0 REPLIES 0