Skip to content

Commit 8713ed8

Browse files
lerouxbgribnoysup
andauthored
Update packages/compass-schema/src/components/coordinates-minichart/utils.js
Co-authored-by: Sergey Petushkov <[email protected]>
1 parent e7c5a2d commit 8713ed8

File tree

1 file changed

+1
-2
lines changed
  • packages/compass-schema/src/components/coordinates-minichart

1 file changed

+1
-2
lines changed

packages/compass-schema/src/components/coordinates-minichart/utils.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ export async function _getHereTileBoxes() {
1515
);
1616
const fields = copyrightData.resources.base.styles['lite.day'];
1717
const tileBoxes = Object.values(_.pick(copyrightData.copyrights, fields))
18-
.flat()
19-
.map((notice) => ({
18+
.flatMap((notice) => ({
2019
alt: notice.copyrightText,
2120
label: notice.label,
2221
maxLevel: notice.maxLevel,

0 commit comments

Comments
 (0)