fix: Add a settings link for portals in sidebar (#6475)

This commit is contained in:
Nithin David Thomas
2023-02-17 17:48:16 +05:30
committed by GitHub
parent 71d8195845
commit 4d719a8fe3
2 changed files with 10 additions and 0 deletions

View File

@@ -238,6 +238,7 @@
"DRAFT": "Draft",
"ARCHIVED": "Archived",
"CATEGORY": "Category",
"SETTINGS": "Settings",
"CATEGORY_EMPTY_MESSAGE": "No categories found"
},
"SET_AUTO_OFFLINE": {

View File

@@ -185,6 +185,15 @@ export default {
toolTip: 'Archived',
toStateName: 'list_archived_articles',
},
{
icon: 'settings',
label: 'HELP_CENTER.SETTINGS',
key: 'edit_portal_information',
toState: frontendURL(
`accounts/${this.accountId}/portals/${this.selectedPortalSlug}/edit`
),
toStateName: 'edit_portal_information',
},
];
},
additionalSecondaryMenuItems() {