openedx / frontend-app-learner-dashboard

Learner Dashboard MFE
GNU Affero General Public License v3.0
6 stars 79 forks source link

Don't show help button if no support page is configured #373

Open arbrandes opened 2 months ago

arbrandes commented 2 months ago

Description

On a bare installation one sees the Help button even though no support page exists:

image

The result is a 404 if you click it.

Expected behavior

If no support page is configured, the Help button should simply not show.

Implementation

Since an MFE config variable already exists, we can simply check to see if it's populated before rendering.

lkatsikaris commented 1 month ago

I can take this issue @arbrandes