Skip to content

Commit 9ca2a51

Browse files
committed
chore: Update CD_MATERIAL_SIDEBAR_TABS constant with new options
1 parent a92bf42 commit 9ca2a51

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/Shared/constants.tsx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
* limitations under the License.
1515
*/
1616

17+
import { OptionType } from '@Common/Types'
18+
import { CDMaterialSidebarType } from './types'
19+
1720
export const ARTIFACT_STATUS = {
1821
PROGRESSING: 'Progressing',
1922
DEGRADED: 'Degraded',
@@ -462,3 +465,10 @@ export enum SelectAllGroupedResourceIdentifiers {
462465
allExistingAndFutureProdEnvironments = '-2',
463466
allExistingAndFutureEnvironments = '-3',
464467
}
468+
469+
export const CD_MATERIAL_SIDEBAR_TABS: OptionType<CDMaterialSidebarType, CDMaterialSidebarType>[] = Object.values(
470+
CDMaterialSidebarType,
471+
).map((tabValue) => ({
472+
value: tabValue,
473+
label: tabValue,
474+
}))

0 commit comments

Comments
 (0)