Skip to content

Commit

Permalink
Show objects without workspace info when no workspaces are provided i…
Browse files Browse the repository at this point in the history
…n find query. (#83)

* temp: modify

Signed-off-by: SuZhou-Joe <suzhou@amazon.com>

* feat: update

Signed-off-by: SuZhou-Joe <suzhou@amazon.com>

---------

Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
  • Loading branch information
SuZhou-Joe committed Aug 31, 2023
1 parent 5c9e12d commit 90ac9f3
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,16 @@ export class WorkspaceSavedObjectsClientWrapper {
workspaces: permittedWorkspaceIds,
},
},
// TODO: remove this child clause when home workspace proposal is finalized.
{
bool: {
must_not: {
exists: {
field: 'workspaces',
},
},
},
},
],
},
},
Expand Down

0 comments on commit 90ac9f3

Please sign in to comment.