Skip to content

Commit

Permalink
Fix: organisations page is empty if organisation for invite was deleted
Browse files Browse the repository at this point in the history
  • Loading branch information
kearfy committed May 3, 2024
1 parent aced750 commit bf4d758
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/[locale]/(console)/account/organisations/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ function useData() {
object::from_entries((
SELECT VALUE [<string> id, target.*]
FROM invite WHERE origin = $auth AND meta::tb(target) == 'organisation'
FROM invite WHERE origin = $auth AND meta::tb(target) == 'organisation' AND target.id
));
`);

Expand Down

0 comments on commit bf4d758

Please sign in to comment.