Skip to content

Commit

Permalink
Do not display N/A for empty SP name
Browse files Browse the repository at this point in the history
  • Loading branch information
oharsta committed Oct 28, 2023
1 parent 39e75f3 commit 447302c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dashboard-gui/src/javascripts/pages/tickets.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,9 @@ function Action({ action, currentUser, showStatus }) {
const renderViewInvitation = linkInviteAwaitingInput && currentUser.dashboardAdmin
const renderResend = linkInviteAwaitingInput && currentUser.superUser && !isEmpty(action.emailTo)
let name
if (action.spName === 'Information unavailable' && isEmpty(action.spId)) {
if (action.spName === 'Information unavailable' && (action.spId === "N/A" || isEmpty(action.spId))) {
name = action.idpName
} else if (action.spName === 'Information unavailable' && !isEmpty(action.spId)) {
} else if (action.spName === 'Information unavailable' && (action.spName !== "N/A" && !isEmpty(action.spId))) {
name = action.spId
} else {
name = action.spName
Expand Down

0 comments on commit 447302c

Please sign in to comment.