From: Laura Flores Date: Wed, 8 Sep 2021 19:48:43 +0000 (+0000) Subject: mgr/dashboard: fix linting issues X-Git-Tag: v17.1.0~818^2~5 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f30a21c6ec2e5abb7f7bb87b78e972128ff8c951;p=ceph.git mgr/dashboard: fix linting issues Signed-off-by: Laura Flores --- diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/telemetry/telemetry.component.ts b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/telemetry/telemetry.component.ts index 5879dbd44710..e40ba5190ad4 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/telemetry/telemetry.component.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/telemetry/telemetry.component.ts @@ -89,7 +89,7 @@ export class TelemetryComponent extends CdForm implements OnInit { } private replacer(key: string, value: any) { - if ((key === 'ranges' || key === 'values') && (Array.isArray(value))) { + if ((key === 'ranges' || key === 'values') && Array.isArray(value)) { const x = []; for (let i = 0; i < value.length; i++) { x.push(JSON.stringify(value[i]));