mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-22 09:35:00 +02:00
fix: do not show error when love recording not available (#9852)
Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
This commit is contained in:
@@ -717,10 +717,12 @@ async function checkRecordAvailable (): Promise<void> {
|
||||
setTimeout(() => {
|
||||
void checkRecordAvailable()
|
||||
}, 500)
|
||||
} else {
|
||||
} else if (endpoint !== '') {
|
||||
const res = await fetch(concatLink(endpoint, '/checkRecordAvailable'))
|
||||
const result = await res.json()
|
||||
isRecordingAvailable.set(result)
|
||||
} else {
|
||||
console.info('office recording is not configured')
|
||||
}
|
||||
} catch (err: any) {
|
||||
Analytics.handleError(err)
|
||||
|
||||
Reference in New Issue
Block a user