From 03a064bdfb93739d377930e78e399136386ef48d Mon Sep 17 00:00:00 2001 From: Shivanand Sonnad Date: Fri, 3 Jan 2025 13:22:49 +0000 Subject: [PATCH] fix: [AH-821] fix unexpected incorrect route after creation of registry (#3225) * fix: [AH-821] fix unexpected incorrect route after creation of registry --- .../hooks/useCreateRepositoryModal/useCreateRepositoryModal.tsx | 2 +- .../useCreateUpstreamProxyModal/useCreateUpstreamProxyModal.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/ar/pages/repository-details/hooks/useCreateRepositoryModal/useCreateRepositoryModal.tsx b/web/src/ar/pages/repository-details/hooks/useCreateRepositoryModal/useCreateRepositoryModal.tsx index 1a70750e98..c755846d0a 100644 --- a/web/src/ar/pages/repository-details/hooks/useCreateRepositoryModal/useCreateRepositoryModal.tsx +++ b/web/src/ar/pages/repository-details/hooks/useCreateRepositoryModal/useCreateRepositoryModal.tsx @@ -85,7 +85,7 @@ export function useCreateRepositoryModal(props: useCreateRepositoryModalProps) { /> ), - [showOverlay] + [showOverlay, onSuccess] ) return [showModal, hideModal] diff --git a/web/src/ar/pages/upstream-proxy-details/hooks/useCreateUpstreamProxyModal/useCreateUpstreamProxyModal.tsx b/web/src/ar/pages/upstream-proxy-details/hooks/useCreateUpstreamProxyModal/useCreateUpstreamProxyModal.tsx index 07239c19ee..8ddefae692 100644 --- a/web/src/ar/pages/upstream-proxy-details/hooks/useCreateUpstreamProxyModal/useCreateUpstreamProxyModal.tsx +++ b/web/src/ar/pages/upstream-proxy-details/hooks/useCreateUpstreamProxyModal/useCreateUpstreamProxyModal.tsx @@ -81,7 +81,7 @@ export default function useCreateUpstreamProxyModal(props: useCreateUpstreamProx /> ), - [showOverlay] + [showOverlay, onSuccess] ) return [showModal, hideModal]