From ad2f40810c640dfbea605aa6c7ecad91189ad1a6 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Mon, 4 Apr 2022 14:18:58 -0700 Subject: [PATCH] Close confirm popup on cancel. Closes https://github.com/owncast/owncast/issues/1809 --- web/components/config/video-codec-selector.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/web/components/config/video-codec-selector.tsx b/web/components/config/video-codec-selector.tsx index 09f40735f..628d34a3b 100644 --- a/web/components/config/video-codec-selector.tsx +++ b/web/components/config/video-codec-selector.tsx @@ -149,6 +149,7 @@ export default function CodecSelector() { visible={confirmPopupVisible} placement="leftBottom" onConfirm={save} + onCancel={() => setConfirmPopupVisible(false)} okText="Yes" cancelText="No" >