Skip to content
This repository was archived by the owner on Mar 25, 2022. It is now read-only.

[projects] add new project link assurance #92

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion fbcnms-packages/fbcnms-projects/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "@fbcnms/projects",
"version": "0.1.0"
"version": "0.1.1"
}
6 changes: 6 additions & 0 deletions fbcnms-packages/fbcnms-projects/projects.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ const allTabs: $ReadOnlyArray<ProjectLink> = [
secondary: 'Network Hub',
url: '/hub',
},
{
id: 'assurance',
name: 'Assurance',
secondary: 'Network Assurance',
url: '/assurance',
},
];

const ADMIN: ProjectLink = {
Expand Down
4 changes: 3 additions & 1 deletion fbcnms-packages/fbcnms-types/tabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ export type Tab =
| 'inventory'
| 'nms'
| 'workorders'
| 'hub';
| 'hub'
| 'assurance';

export const TABS: {[string]: Tab} = Object.freeze({
admin: 'admin',
Expand All @@ -23,6 +24,7 @@ export const TABS: {[string]: Tab} = Object.freeze({
nms: 'nms',
workorders: 'workorders',
hub: 'hub',
assurance: 'assurance',
});

export function coerceToTab(tab: string): Tab {
Expand Down