fix(database): enable superset_app_root override for databaseview link (#33508)

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Co-authored-by: Superset Dev <dev@superset.apache.org>
This commit is contained in:
serverdevil
2026-06-16 20:24:49 -07:00
committed by GitHub
co-authored by Claude Opus 4.8 Superset Dev
parent 5b66443d48
commit 3e2174b50f
4 changed files with 59 additions and 3 deletions
@@ -45,6 +45,7 @@ import TextControl from 'src/explore/components/controls/TextControl';
import CheckboxControl from 'src/explore/components/controls/CheckboxControl';
import PopoverSection from '@superset-ui/core/components/PopoverSection';
import ControlHeader from 'src/explore/components/ControlHeader';
import { ensureAppRoot } from 'src/utils/pathUtils';
import {
ANNOTATION_SOURCE_TYPES,
ANNOTATION_TYPES,
@@ -145,7 +146,7 @@ const NotFoundContent = () => (
<span>
{t('Add an annotation layer')}{' '}
<a
href="/annotationlayer/list"
href={ensureAppRoot('/annotationlayer/list')}
target="_blank"
rel="noopener noreferrer"
>