mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-01-15 23:59:08 +00:00
fix: missing optional chaining for plugin setting (#1062)
This commit is contained in:
@@ -13,7 +13,7 @@ export default function DownloadSettings({ ...props }) {
|
||||
const allDisabled = useMemo(
|
||||
() =>
|
||||
pluginSettings?.remuxConcurrentLimit?.locked === true &&
|
||||
pluginSettings?.autoDownload.locked === true,
|
||||
pluginSettings?.autoDownload?.locked === true,
|
||||
[pluginSettings],
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user