Final eslint 8.57 adjustements.

There are still some FIXME, but should be enought for now.
This commit is contained in:
John Livingston
2024-09-09 20:37:45 +02:00
parent fd27105c2c
commit edca1be70a
10 changed files with 14 additions and 154 deletions

View File

@ -44,7 +44,7 @@ function videoHasWebchat (settings: VideoHasWebchatSettings, video: SharedVideo)
if (video.remote) return false
}
if (settings['chat-per-live-video'] && video.isLive && video.pluginData && video.pluginData['livechat-active']) {
if (settings['chat-per-live-video'] && video.isLive && video.pluginData?.['livechat-active']) {
return true
}