Skip to content

Commit

Permalink
Fix check
Browse files Browse the repository at this point in the history
  • Loading branch information
ranquild committed May 24, 2024
1 parent 2f393e0 commit 8ce2375
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/metabase/questions/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const loadMetadataForCards =
.map(card => new Question(card, metadata))
.flatMap(question => {
const dependencies = [...Lib.dependentMetadata(question.query())];
if (question.type() !== "question") {
if (question.isSaved() && question.type() !== "question") {
const tableId = getQuestionVirtualTableId(question.id());
dependencies.push({ id: tableId, type: "table" });

Expand Down

0 comments on commit 8ce2375

Please sign in to comment.