Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

fix(web): update pending link on deprecated pages #12051

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,8 @@ const ServiceStatusCounter = (): JSX.Element => {
statuses: pendingCriterias.value as Array<SelectEntry>,
});
const pendingServicesLink = use_deprecated_pages
? '/main.php?p=20201&o=svc&statusFilter=&search='
: getServiceResourcesUrl({
statusCriterias: pendingCriterias,
});
? '/main.php?p=20201&o=svc&statusFilter=pending&search='
: getServiceResourcesUrl({ statusCriterias: pendingCriterias });

const changeFilterAndNavigate =
({ link, criterias, toggle }: SelectResourceProps) =>
Expand Down