mirror of
https://github.com/harness/drone.git
synced 2025-05-21 19:39:59 +08:00
fix: [AH-821] fix unexpected incorrect route after creation of registry (#3225)
* fix: [AH-821] fix unexpected incorrect route after creation of registry
This commit is contained in:
parent
2036b8e26a
commit
03a064bdfb
@ -85,7 +85,7 @@ export function useCreateRepositoryModal(props: useCreateRepositoryModalProps) {
|
|||||||
/>
|
/>
|
||||||
</ModalDialog>
|
</ModalDialog>
|
||||||
),
|
),
|
||||||
[showOverlay]
|
[showOverlay, onSuccess]
|
||||||
)
|
)
|
||||||
|
|
||||||
return [showModal, hideModal]
|
return [showModal, hideModal]
|
||||||
|
@ -81,7 +81,7 @@ export default function useCreateUpstreamProxyModal(props: useCreateUpstreamProx
|
|||||||
/>
|
/>
|
||||||
</ModalDialog>
|
</ModalDialog>
|
||||||
),
|
),
|
||||||
[showOverlay]
|
[showOverlay, onSuccess]
|
||||||
)
|
)
|
||||||
|
|
||||||
return [showModal, hideModal]
|
return [showModal, hideModal]
|
||||||
|
Loading…
Reference in New Issue
Block a user