mirror of
https://github.com/hcengineering/platform.git
synced 2026-08-26 06:12:23 +02:00
fix broken ui test (#9629)
Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
This commit is contained in:
@@ -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
|
||||
})
|
||||
|
||||
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user