Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't say we'll cache archived models (metabase#41329)
When we actually run the job to cache models, we select "refreshable models", which selects `PersistedInfo` where: - the `state` is something refreshable, and - the question marked for caching is actually a model, and - the question hasn't been archived. However, when we selected `PersistedInfo`s to display to the user, we didn't apply any conditions. Instead, we included PersistedInfo where the question was not a model, or where the question had been archived. To prevent confusion, let's hide these. Fixes metabase#41318
- Loading branch information