Skip to content

Commit

Permalink
fix: key ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
davwheat committed Sep 19, 2024
1 parent e21ef4b commit f68307c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/components/Maps/UkCoverageMap/Providers/VFProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export default class VodafoneCoverageMapProvider extends CoverageProvider<true>
key: genericKey,
},

...(version <= '2024-01-09' || version >= '2024-09-18'
...(version <= '2024-01-09'
? [
{
key: [{ color: '', label: 'Random colours for each area surrounding an impacted site' }],
Expand Down Expand Up @@ -111,6 +111,13 @@ export default class VodafoneCoverageMapProvider extends CoverageProvider<true>
},
]
: []),
...(version >= '2024-09-18'
? [
{
key: [{ color: '', label: 'Random colours for each area surrounding an impacted site' }],
},
]
: []),
]
}

Expand Down

0 comments on commit f68307c

Please sign in to comment.