GitHub user dosubot[bot] added a comment to the discussion: Changing LOGO_TARGET_PATH adds a 'Home' menu
<!-- Answer --> To disable or hide the 'Home' menu element when you add `LOGO_TARGET_PATH = '/superset/dashboard/1/'` to the `superset_config.py`, you can use the `uiConfig.hideNav` configuration in the frontend code. In the `superset-frontend/src/features/home/Menu.tsx` file, the menu rendering is conditioned on the `standalone` URL parameter or the `uiConfig.hideNav` setting. You can set `uiConfig.hideNav` to `true` in your configuration to hide the navigation menu, including the 'Home' menu element: ```tsx const standalone = getUrlParam(URL_PARAMS.standalone); if (standalone || uiConfig.hideNav) return <></>; ``` Make sure to update your configuration accordingly to ensure the 'Home' menu element is not displayed <sup>[[1]](https://github.com/apache/superset/blob/master/superset-frontend/src/features/home/Menu.tsx)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/4b44cb09-9224-4d8e-b29c-49280cadc815?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/4b44cb09-9224-4d8e-b29c-49280cadc815?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/4b44cb09-9224-4d8e-b29c-49280cadc815?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/4b44cb09-9224-4d8e-b29c-49280cadc815?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/4b44cb09-9224-4d8e-b29c-49280cadc815?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/4b44cb09-9224-4d8e-b29c-49280cadc815?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/4b44cb09-9224-4d8e-b29c-49280cadc815?feedback_type=other)</sup> GitHub link: https://github.com/apache/superset/discussions/33295#discussioncomment-12989510 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
