Skip to content

Commit

Permalink
Merge pull request #1122 from akto-api-security/hotfix/rename_left_nav
Browse files Browse the repository at this point in the history
Renaming left nav labels
  • Loading branch information
notshivansh authored May 19, 2024
2 parents 9199888 + 1905eb5 commit a603a55
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export default function LeftNav(){
key: '1',
},
{
label: 'Dashboard',
label: 'API Security Posture',
icon: OrdersFilledMinor,
onClick: ()=>{
handleSelect("dashboard_home")
Expand All @@ -52,7 +52,7 @@ export default function LeftNav(){
},
{
url: '#',
label: <Text variant="bodyMd" fontWeight="medium" color={leftNavSelected.includes("observe") ? (active === 'active' ? "subdued" : ""): ""}>API Inventory</Text>,
label: <Text variant="bodyMd" fontWeight="medium" color={leftNavSelected.includes("observe") ? (active === 'active' ? "subdued" : ""): ""}>API Discovery</Text>,
icon: InventoryFilledMajor,
onClick: ()=>{
handleSelect("_observe")
Expand All @@ -79,7 +79,7 @@ export default function LeftNav(){
selected: leftNavSelected === "dashboard_observe_changes"
},
{
label: 'Sensitive data',
label: 'Sensitive Data',
onClick: ()=>{
navigate('/dashboard/observe/sensitive')
handleSelect("dashboard_observe_sensitive")
Expand Down Expand Up @@ -110,7 +110,7 @@ export default function LeftNav(){
selected: leftNavSelected === 'dashboard_testing'
},
{
label: 'Test roles',
label: 'Test Roles',
onClick: ()=>{
navigate('/dashboard/testing/roles')
handleSelect('dashboard_testing_roles')
Expand All @@ -119,7 +119,7 @@ export default function LeftNav(){
selected: leftNavSelected === 'dashboard_testing_roles'
},
{
label: 'User config',
label: 'User Config',
onClick: ()=>{
navigate('/dashboard/testing/user-config')
handleSelect('dashboard_testing_user_config')
Expand Down

0 comments on commit a603a55

Please sign in to comment.