Skip to content

Commit

Permalink
Fix crash in collection settings with EpisodeLanguagePreference (#950)
Browse files Browse the repository at this point in the history
  • Loading branch information
hidden4003 authored Jul 27, 2024
1 parent 48e3c44 commit 99b6726
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ if (!isDebug()) {
matchRoutes,
}),
Sentry.replayIntegration({
networkDetailAllowUrls: ['/api/v3/Init/Version'],
maskAllText: true,
blockAllMedia: false,
}),
Expand Down
2 changes: 1 addition & 1 deletion src/pages/settings/tabs/CollectionSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ const CollectionSettings = () => {
</div>
<div className="mt-2 flex rounded-lg border border-panel-border bg-panel-input px-4 py-2">
<DnDList onDragEnd={result => onDragEnd(result, true)}>
{newSettings.EpisodeLanguagePreference.map(language => (
{newSettings.EpisodeLanguagePreference?.map(language => (
{
key: language,
item: (
Expand Down

0 comments on commit 99b6726

Please sign in to comment.