Skip to content

Commit

Permalink
Set isOpen to false after closing the menu (#810)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarekMichali authored and szwedm committed Aug 21, 2024
1 parent 812052e commit b44b08f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/components/SecretsView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ function SecretsView({ onSecretChanged }: { onSecretChanged: (secret: string) =>

<Menu
opener="openMenu"
onAfterClose={function _a() { }}
onAfterClose={function _a() {setIsOpen(false)}}
onAfterOpen={function _a() { }}
onBeforeClose={function _a() { }}
onBeforeOpen={function _a() { }}
Expand Down

0 comments on commit b44b08f

Please sign in to comment.