Skip to content

Commit

Permalink
Default when no value provided on link cell to '-' for clickable link
Browse files Browse the repository at this point in the history
#CTCTOWALTZ-3004
#6908
  • Loading branch information
jessica-woodland-scott-db committed Feb 27, 2024
1 parent 6d2a890 commit f5c5352
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions waltz-ng/client/common/grid-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,13 @@ export function mkLinkGridCell(columnHeading,
cellTemplate: `
<div class="ui-grid-cell-contents">
<a ui-sref="${linkNavViewName} ({ id: row.entity.${linkIdField} })"
ng-if="COL_FIELD"
ng-bind="COL_FIELD">
</a>
<a ui-sref="${linkNavViewName} ({ id: row.entity.${linkIdField} })"
ng-if="!COL_FIELD">
-
</a>
</div>`
});
}
Expand Down

0 comments on commit f5c5352

Please sign in to comment.