Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/realm-server/lib/retrieve-scoped-css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ export async function retrieveScopedCSS({
}

let scopedCSSQuery: Expression = [
`SELECT deps, realm_version FROM boxel_index_working WHERE deps IS NOT NULL AND`,
`SELECT deps, realm_version FROM boxel_index_working WHERE type = 'instance' AND deps IS NOT NULL AND`,
...indexCandidateExpressions(candidates),
`UNION ALL
SELECT deps, realm_version FROM boxel_index WHERE deps IS NOT NULL AND`,
SELECT deps, realm_version FROM boxel_index WHERE type = 'instance' AND deps IS NOT NULL AND`,
...indexCandidateExpressions(candidates),
`ORDER BY realm_version DESC
LIMIT 1`,
Expand Down