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:
parent
e9f0a82d8c
commit
f4cd29ac17
9 changed files with 22 additions and 12 deletions
|
@ -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: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue