1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Add no-return-assign eslint rule and fix issues

This commit is contained in:
Bill Thornton 2022-10-04 14:24:24 -04:00
parent e9f0a82d8c
commit f4cd29ac17
9 changed files with 22 additions and 12 deletions

View file

@ -103,9 +103,9 @@ function getViewEventDetail(view, {state, url, options = {}}, isRestored) {
const searchParams = new URLSearchParams(url.substring(index + 1));
const params = {};
searchParams.forEach((value, key) =>
params[key] = value
);
searchParams.forEach((value, key) => {
params[key] = value;
});
return {
detail: {