diff --git a/html/.eslintrc.js b/html/.eslintrc.js index d5eb678b..ed80e767 100644 --- a/html/.eslintrc.js +++ b/html/.eslintrc.js @@ -60,6 +60,7 @@ module.exports = { 'one-var': 0, 'padded-blocks': 0, 'prefer-arrow-callback': 0, + 'prefer-destructuring': 0, 'prefer-named-capture-group': 0, 'quotes': ['error', 'single', { 'avoidEscape': true }], 'quote-props': 0, diff --git a/html/app.js b/html/app.js index caea67de..e09930ea 100644 --- a/html/app.js +++ b/html/app.js @@ -2508,8 +2508,7 @@ if (window.CefSharp) { } ctx.$isExpired = false; if (ctx.tags) { - // destructuring - [ctx.$group] = ctx.tags; + ctx.$group = ctx.tags[0]; } return ctx; };