diff --git a/deepfence_frontend/apps/dashboard/src/features/postures/pages/Accounts.tsx b/deepfence_frontend/apps/dashboard/src/features/postures/pages/Accounts.tsx index cbbb05d00a..59809e8d4f 100644 --- a/deepfence_frontend/apps/dashboard/src/features/postures/pages/Accounts.tsx +++ b/deepfence_frontend/apps/dashboard/src/features/postures/pages/Accounts.tsx @@ -1069,7 +1069,7 @@ const Accounts = () => { }} /> )} -
+
{ return ( <>
-
- { - if (currentTab === value) return; - let _nodeType = nodeType; - if (value === 'org-accounts') { - _nodeType = _nodeType + '_org'; - } else { - _nodeType = _nodeType.split('_')[0]; - } - setTab(value); - navigate( - generatePath('/posture/accounts/:nodeType', { - nodeType: _nodeType, - }), - ); - }} - size="md" - > -
- -
-
-
+ { + if (currentTab === value) return; + let _nodeType = nodeType; + if (value === 'org-accounts') { + _nodeType = _nodeType + '_org'; + } else { + _nodeType = _nodeType.split('_')[0]; + } + setTab(value); + navigate( + generatePath('/posture/accounts/:nodeType', { + nodeType: _nodeType, + }), + ); + }} + size="md" + > +
+ +
+
); };