Skip to content

Commit

Permalink
SOROKA-160: fix FILE type name (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexRbkv authored Oct 24, 2022
1 parent b18004e commit 4d68353
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/PropertiesParser.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ const PropertiesParser = ({ property }: PropertiesParserProps) => {
return <GeoPropertyParser property={property} />;
case DATA_TYPES.MEASURMENT:
return <MeasurementPropertyParser property={property} />;
case DATA_TYPES.MEDIA:
return <div>в разработке</div>;
case DATA_TYPES.FILE:
return <div>Свойства типа FILE в разработке</div>;
default:
return <span>Неизвестное свойство</span>;
}
Expand Down
2 changes: 1 addition & 1 deletion src/utils/constants.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export const DATA_TYPES = {
GEO_POINT: "GEO_POINT",
RICH_TEXT: "RICH_TEXT",
JULIAN_DATE: "JULIAN_DATE",
MEDIA: "MEDIA",
FILE: "FILE",
TEXT: "TEXT",
MEASURMENT: "MEASURMENT"
};
Expand Down

0 comments on commit 4d68353

Please sign in to comment.