Skip to content

Commit 714d537

Browse files
author
Vikas Agarwal
committed
fix: git#4361-Few Project Tabs missing for new projects
1 parent 7f587c6 commit 714d537

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/helpers/projectHelper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ export function getProjectNavLinks(project, projectId, renderFAQs) {
270270
messagesTab = { label: 'Messages', to: `/projects/${projectId}/messages`, Icon: MessagesIcon, iconClassName: 'stroke', exact: false }
271271
}
272272
// choose set of menu links based on the project version
273-
const navLinks = project.version === 'v3' ? [
273+
const navLinks = ['v3', 'v4'].includes(project.version) ? [
274274
{ label: 'Dashboard', to: `/projects/${projectId}`, Icon: DashboardIcon, iconClassName: 'stroke' },
275275
messagesTab,
276276
{ label: 'Scope', to: `/projects/${projectId}/scope`, Icon: ScopeIcon, iconClassName: 'fill' },

0 commit comments

Comments
 (0)