Fix incorrect property inspection (#3180)

- Fixed Folder grid and list views;
- Fixed plot collapsed and expanded legends;

Co-authored-by: Deep Tailor <deep.j.tailor@nasa.gov>
This commit is contained in:
Charles Hacskaylo 2020-07-13 11:36:21 -07:00 committed by GitHub
parent db597e1e93
commit f0e7f8cfc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@
class="l-grid-view__item c-grid-item" class="l-grid-view__item c-grid-item"
:class="{ :class="{
'is-alias': item.isAlias === true, 'is-alias': item.isAlias === true,
'is-missing': item.status === 'missing', 'is-missing': item.model.status === 'missing',
'c-grid-item--unknown': item.type.cssClass === undefined || item.type.cssClass.indexOf('unknown') !== -1 'c-grid-item--unknown': item.type.cssClass === undefined || item.type.cssClass.indexOf('unknown') !== -1
}" }"
:href="objectLink" :href="objectLink"

View File

@ -8,7 +8,7 @@
<a <a
ref="objectLink" ref="objectLink"
class="c-object-label" class="c-object-label"
:class="{ 'is-missing': item.status === 'missing' }" :class="{ 'is-missing': item.model.status === 'missing' }"
:href="objectLink" :href="objectLink"
> >
<div <div

View File

@ -36,7 +36,7 @@
ng-class="{'is-cursor-locked': !!lockHighlightPoint }"> ng-class="{'is-cursor-locked': !!lockHighlightPoint }">
<div class="c-state-indicator__alert-cursor-lock icon-cursor-lock" title="Cursor is point locked. Click anywhere in the plot to unlock."></div> <div class="c-state-indicator__alert-cursor-lock icon-cursor-lock" title="Cursor is point locked. Click anywhere in the plot to unlock."></div>
<div class="plot-legend-item" <div class="plot-legend-item"
ng-class="{'is-missing': series.status === 'missing'}" ng-class="{'is-missing': series.domainObject.status === 'missing'}"
ng-repeat="series in series track by $index" ng-repeat="series in series track by $index"
> >
<div class="plot-series-swatch-and-name"> <div class="plot-series-swatch-and-name">
@ -86,7 +86,7 @@
</thead> </thead>
<tr ng-repeat="series in series" <tr ng-repeat="series in series"
class="plot-legend-item" class="plot-legend-item"
ng-class="{'is-missing': series.status === 'missing'}" ng-class="{'is-missing': series.domainObject.status === 'missing'}"
> >
<td class="plot-series-swatch-and-name"> <td class="plot-series-swatch-and-name">
<span class="plot-series-color-swatch" <span class="plot-series-color-swatch"