From d196cec3e4434abc8cf109c592ee7de79ca91996 Mon Sep 17 00:00:00 2001 From: Selmen AKRMI Date: Mon, 4 Nov 2024 10:57:58 +0100 Subject: [PATCH] feat(pci-object-storage): fix review issue ref: TAPC-1189 Signed-off-by: Selmen AKRMI --- .../project/regions-list/regions-list.controller.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/manager/modules/pci/src/components/project/regions-list/regions-list.controller.js b/packages/manager/modules/pci/src/components/project/regions-list/regions-list.controller.js index 55298d4fa3ae..10dd9390e4d2 100644 --- a/packages/manager/modules/pci/src/components/project/regions-list/regions-list.controller.js +++ b/packages/manager/modules/pci/src/components/project/regions-list/regions-list.controller.js @@ -93,8 +93,9 @@ export default class RegionsListController { (value, index, self) => index === self.findIndex( - (t) => - t.name === value.name && t.datacenter === value.datacenter, + (region) => + region.name === value.name && + region.datacenter === value.datacenter, ), );