Skip to content

Commit

Permalink
Merge pull request #232 from kartevonmorgen/develop
Browse files Browse the repository at this point in the history
Add new marker icons
  • Loading branch information
navid-kalaei authored Dec 1, 2024
2 parents 4fdf635 + 9bb8a76 commit bdc6c37
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
6 changes: 6 additions & 0 deletions components/EntityRatings.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { FC } from 'react'
import toString from 'lodash/toString'
import isEmpty from 'lodash/isEmpty'
import groupBy from 'lodash/groupBy'
import { Comment } from '@ant-design/compatible'
import { Divider, Typography } from 'antd'
Expand Down Expand Up @@ -93,6 +94,11 @@ const EntityRatings: FC<EntityCommentsProps> = (props) => {

{
contextRatings.map((contextRating: Rating) => {

if (isEmpty(contextRating.comments)) {
return null
}

const [rootComment, ...comments] = contextRating.comments

return (
Expand Down
8 changes: 8 additions & 0 deletions components/MapMarkerIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import { FC } from 'react'

import { FaFutbol } from '@react-icons/all-files/fa/FaFutbol'
import { FaLock } from '@react-icons/all-files/fa/FaLock'
import { IoMdFootball } from '@react-icons/all-files/io/IoMdFootball'
import { IoIosFootball } from '@react-icons/all-files/io/IoIosFootball'
import { IconBaseProps, IconType } from 'react-icons'


Expand All @@ -20,6 +22,12 @@ const MapMarkerIcon: FC<MapMarkerIconProps> = (props) => {
case 'FaLock':
Icon = FaLock
break
case 'IoMdFootball':
Icon = IoMdFootball
break
case 'IoIosFootball':
Icon = IoIosFootball
break
default:
break
}
Expand Down
2 changes: 1 addition & 1 deletion consts/version.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const version = 'v1.2.9'
const version = 'v1.2.10'


export default version

0 comments on commit bdc6c37

Please sign in to comment.