import isEmpty from 'lodash/isEmpty';

const activeId = 'ndc';
const FEATURE_NET_ZERO = process.env.FEATURE_NET_ZERO === 'true';

export default [
  {
    path: '/ndc-overview',
    label: 'Overview',
    activeId
  },
  {
    path: '/ndcs-explore',
    label: 'Explore NDCS',
    activeId
  },
  {
    path: '/lts-explore',
    label: 'Explore LTS',
    activeId
  },
  {
    path: '/2020-ndc-tracker',
    label: '2020 NDC Tracker',
    activeId
  },
  {
    path: '/ndcs-sdg',
    label: 'EXPLORE NDC-SDG LINKAGES',
    activeId
  },
  {
    path: '/compare-all-targets',
    label: 'COMPARE ALL TARGETS',
    activeId
  },
  FEATURE_NET_ZERO && {
    path: '/net-zero-tracker',
    label: 'NET-ZERO TRACKER',
    activeId
  }
].filter(o => !isEmpty(o));

import isEmpty from 'lodash/isEmpty';

const activeId = 'ndc';

export default [
  {
    path: '/ndc-overview',
    label: 'Overview',
    activeId
  },
  {
    path: '/ndcs-explore',
    label: 'Explore NDCS',
    activeId
  },
  {
    path: '/lts-explore',
    label: 'Explore LTS',
    activeId
  },
  {
    path: '/2020-ndc-tracker',
    label: '2020 NDC Tracker',
    activeId
  },
  {
    path: '/ndcs-sdg',
    label: 'EXPLORE NDC-SDG LINKAGES',
    activeId
  },
  {
    path: '/compare-all-targets',
    label: 'COMPARE ALL TARGETS',
    activeId
  },
  {
    path: '/net-zero-tracker',
    label: 'NET-ZERO TRACKER',
    activeId
  }
].filter(o => !isEmpty(o));

Remove net zero tag