Skip to content

Commit

Permalink
✨ Persist activeItem in URL on the Applications screen (#1939)
Browse files Browse the repository at this point in the history
Main use case is  providing a link to the application drawer.

Part-of: #1929

Signed-off-by: Radoslaw Szwajkowski <[email protected]>
  • Loading branch information
rszwajko authored Jun 10, 2024
1 parent 0d7de74 commit 15c8ee4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export const AnalysisDetails: React.FC = () => {
},
{
title: appName,
path: `${Paths.applications}/?activeItem=${applicationId}`,
},
{
title: t("actions.analysisDetails"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,8 @@ export const ApplicationsTable: React.FC = () => {
isSortEnabled: true,
isPaginationEnabled: true,
isActiveItemEnabled: true,
persistTo: { activeItem: "urlParams" },
isLoading: isFetchingApplications,
sortableColumns: ["name", "businessService", "tags", "effort"],
initialSort: { columnKey: "name", direction: "asc" },
initialFilterValues: deserializedFilterValues,
Expand Down

0 comments on commit 15c8ee4

Please sign in to comment.