diff --git a/core/core-frontend/src/views/chart/components/js/util.ts b/core/core-frontend/src/views/chart/components/js/util.ts index a1a7858b4c..82ebe3ef5c 100644 --- a/core/core-frontend/src/views/chart/components/js/util.ts +++ b/core/core-frontend/src/views/chart/components/js/util.ts @@ -655,14 +655,14 @@ export const stepsColor = (start, end, steps, gamma) => { function parseColor(hexStr) { return hexStr.length === 4 ? hexStr - .substr(1) - .split('') - .map(function (s) { - return 0x11 * parseInt(s, 16) - }) + .substr(1) + .split('') + .map(function (s) { + return 0x11 * parseInt(s, 16) + }) : [hexStr.substr(1, 2), hexStr.substr(3, 2), hexStr.substr(5, 2)].map(function (s) { - return parseInt(s, 16) - }) + return parseInt(s, 16) + }) } function pad(s) { return s.length === 1 ? '0' + s : s diff --git a/core/core-frontend/src/views/copilot/index.vue b/core/core-frontend/src/views/copilot/index.vue index 44de40e519..0a017948fa 100644 --- a/core/core-frontend/src/views/copilot/index.vue +++ b/core/core-frontend/src/views/copilot/index.vue @@ -1,5 +1,5 @@