Skip to content

Commit

Permalink
Used FeatureType() function to get find
Browse files Browse the repository at this point in the history
questionnaire assets and consolidated logic
  • Loading branch information
sophia-massie committed Dec 1, 2023
1 parent 33de0bf commit a472b01
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,8 @@
</div>
<hr />
</div>
<div *ngIf="feature.assets[0].asset_type !== 'questionnaire'">
<div class="cell medium-5 asset-detail-content">
<app-feature-metadata [feature]="feature"></app-feature-metadata>
<app-feature-geometry [feature]="feature"></app-feature-geometry>
</div>
<div class="cell medium-5 asset-detail-content" *ngIf="feature.featureType() !== 'questionnaire'">
<app-feature-metadata [feature]="feature"></app-feature-metadata>
<app-feature-geometry [feature]="feature"></app-feature-geometry>
</div>
</div>

0 comments on commit a472b01

Please sign in to comment.