Skip to content

Commit

Permalink
lightspeedExplorerView: hide role is undefined (#1255)
Browse files Browse the repository at this point in the history
Hide the `Role: ` line if there is no role set.
  • Loading branch information
goneri authored Apr 26, 2024
1 parent 1261ab8 commit 7f0bf4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/lightspeed/utils/explorerView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export function getWebviewContentWithActiveSession(
<div id="lightspeedExplorerView">
Logged in as: ${userName}<br />
User Type: ${userType}<br />
Role: ${userRole}<br />
${userRole ? "Role: " + userRole : ""}
${lightspeedExperimentalEnabled ? explainForm : ""}
</div>
</body>
Expand Down

0 comments on commit 7f0bf4a

Please sign in to comment.