Skip to content

Commit

Permalink
feat(toolbarFieldExport): sw-2768 activate instances data (RedHatInsi…
Browse files Browse the repository at this point in the history
  • Loading branch information
cdcabrera authored Jul 25, 2024
1 parent c0bcd20 commit 61994a5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ exports[`ToolbarFieldExport Component should handle updating export through redu
"filters": {},
"resource": "subscriptions",
},
{
"application": "subscriptions",
"filters": {},
"resource": "instances",
},
],
},
],
Expand Down
7 changes: 7 additions & 0 deletions src/components/toolbar/toolbarFieldExport.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,13 @@ const useOnSelect = ({
[SOURCE_TYPES.FILTERS]: {
...exportQuery
}
},
{
[SOURCE_TYPES.APPLICATION]: APP_TYPES.SUBSCRIPTIONS,
[SOURCE_TYPES.RESOURCE]: RESOURCE_TYPES.INSTANCES,
[SOURCE_TYPES.FILTERS]: {
...exportQuery
}
}
];

Expand Down

0 comments on commit 61994a5

Please sign in to comment.