Skip to content
Snippets Groups Projects
Unverified Commit 15909fc3 authored by Cal Herries's avatar Cal Herries Committed by GitHub
Browse files

Fix #25521: 403 page when visiting question's URL with a card template tag (#25525)


* Fix bug

* Update frontend/src/metabase/query_builder/actions/core/parameterUtils.ts

Co-authored-by: default avatarGustavo Saiani <gustavo@poe.ma>

Co-authored-by: default avatarGustavo Saiani <gustavo@poe.ma>
parent 6c4206b9
No related branches found
No related tags found
No related merge requests found
......@@ -128,7 +128,7 @@ export async function handleDashboardParameters(
deserializedCard,
originalCard,
});
if (shouldPropagateParameters && deserializedCard) {
if (shouldPropagateParameters && deserializedCard?.dashcardId) {
const { dashboardId, dashcardId, parameters } = deserializedCard;
const metadata = getMetadata(getState());
await verifyMatchingDashcardAndParameters({
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment