浏览代码

Fixed a display issue in IE11, and an error being thrown to the Console.

jalbr74 7 年之前
父节点
当前提交
e6d732e33c

+ 2 - 2
client/src/peoplesearch/person-card.component.html

@@ -41,13 +41,13 @@
         <h3 class="single-line" ng-bind="$ctrl.person.displayNames[0]"
             ng-attr-title="{{$ctrl.person.displayNames[0]}}"></h3>
         <div class="single-line" ng-bind="displayName" ng-attr-title="{{displayName}}"
-            ng-repeat="displayName in $ctrl.person.displayNames.slice(1, 8)"></div>
+            ng-repeat="displayName in $ctrl.person.displayNames.slice(1, 8) track by $index"></div>
     </div>
 
     <div class="ias-tile-content" ng-class="{'direct-reports': $ctrl.numDirectReportsVisible}" ng-switch-default>
         <h3 class="single-line" ng-bind="$ctrl.person.displayNames[0]"
             ng-attr-title="{{$ctrl.person.displayNames[0]}}"></h3>
         <div class="single-line" ng-bind="displayName" ng-attr-title="{{displayName}}"
-             ng-repeat="displayName in $ctrl.person.displayNames.slice(1, 4)"></div>
+             ng-repeat="displayName in $ctrl.person.displayNames.slice(1, 4) track by $index"></div>
     </div>
 </div>

+ 4 - 0
server/src/main/webapp/public/resources/style.css

@@ -1687,3 +1687,7 @@ table.ias-table, table.ias-table td {
 .pwm-icon-status_warn_thick:before {
     content: "\f192";
 }
+
+.ias-fill {
+    display: inline-block;
+}