Skip to content

Commit

Permalink
don't show archived subjects on listInputs
Browse files Browse the repository at this point in the history
  • Loading branch information
xvvvyz committed Aug 29, 2024
1 parent 05baad9 commit 83a9df6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/_queries/list-inputs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const listInputs = async () =>
.eq('team_id', (await getCurrentUser())?.id ?? '')
.eq('archived', false)
.eq('subjects.deleted', false)
.not('subjects.archived', 'is', null)
.eq('subjects.archived', false)
.order('name', { referencedTable: 'subjects' })
.order('label');

Expand Down

0 comments on commit 83a9df6

Please sign in to comment.