fix(dashboard): Native filter on the dashboard with multiple tabs is displayed as out of scope (#20693)
This commit is contained in:
parent
19247cc92a
commit
effa7d9f58
|
|
@ -186,7 +186,9 @@ export const DashboardPage: FC<PageProps> = ({ idOrSlug }: PageProps) => {
|
|||
const isOldRison = getUrlParam(URL_PARAMS.nativeFilters);
|
||||
|
||||
let dataMask = nativeFilterKeyValue || {};
|
||||
let activeTabs: string[] | undefined = [];
|
||||
// activeTabs is initialized with undefined so that it doesn't override
|
||||
// the currently stored value when hydrating
|
||||
let activeTabs: string[] | undefined;
|
||||
if (permalinkKey) {
|
||||
const permalinkValue = await getPermalinkValue(permalinkKey);
|
||||
if (permalinkValue) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue