fix broken ui test (#9629)

Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
This commit is contained in:
Alexander Onnikov
2025-07-31 23:38:21 +07:00
committed by GitHub
parent 4f2d510e2a
commit fd5354a7d1
2 changed files with 4 additions and 3 deletions
-1
View File
@@ -104,7 +104,6 @@ export function showPopup (
const pos = popups.findIndex((p) => (p as CompAndProps).id === id && p.type === 'popup')
if (pos !== -1) {
popups.splice(pos, 1)
void onClose?.(undefined)
}
return popups
})
+4 -2
View File
@@ -96,8 +96,10 @@ function showRecordingPopup (): void {
}
export function closeRecordingPopup (): void {
const popup = get(recordingPopup)
popup?.close()
recordingPopup.update((popup) => {
popup?.close()
return null
})
}
export async function startRecording (): Promise<void> {