diff --git a/client/src/proto/proto.js b/client/src/proto/proto.js index 4b1b420..37a3d49 100644 --- a/client/src/proto/proto.js +++ b/client/src/proto/proto.js @@ -1,4 +1,4 @@ -/*eslint-disable block-scoped-var, id-length, no-control-regex, no-magic-numbers, no-prototype-builtins, no-redeclare, no-shadow, no-var, sort-vars, no-mixed-operators, strict*/ +/*eslint-disable block-scoped-var, id-length, no-control-regex, no-magic-numbers, no-prototype-builtins, no-redeclare, no-shadow, no-var, sort-vars*/ "use strict"; var $protobuf = require("protobufjs/minimal"); diff --git a/client/src/utils/protoHelpers.ts b/client/src/utils/protoHelpers.ts index 17876ce..61d37d1 100644 --- a/client/src/utils/protoHelpers.ts +++ b/client/src/utils/protoHelpers.ts @@ -54,7 +54,7 @@ export function isProtoEnabled(): boolean { } export function isProtoEligible(url: string) { - for (let value of Object.values(kindMap)) { + for (let [key, value] of Object.entries(kindMap)) { if (url.includes(value.path)) { return true; }