Skip to content
Snippets Groups Projects

feat(vector-map): add searching by coordinates

Merged Miłosz Grocholewski requested to merge feat/MIN-69-search-by-coordinates into development
2 unresolved threads

Closes MIN-69

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
24 return;
25 }
26
27 const reaction = payload.data[FIRST_ARRAY_ELEMENT];
28
29 const bioEntitiesIds = getBioEntitiesIdsFromReaction(reaction);
30
31 dispatch(openReactionDrawerById(reaction.id));
32
33 dispatch(selectTab(''));
34
35 const response = await axiosInstanceNewAPI.get<BioEntity>(apiPath.getReactionByIdInNewApi(reaction.id, reaction.modelId));
36 const isDataValid = validateDataUsingZodSchema(response.data, bioEntitySchema);
37
38 if (isDataValid) {
39 const reactionNewApi = response.data;
  • 23 if (!data || !payload || typeof payload === 'string' || payload.data.length === SIZE_OF_EMPTY_ARRAY) {
    24 return;
    25 }
    26
    27 const reaction = payload.data[FIRST_ARRAY_ELEMENT];
    28
    29 const bioEntitiesIds = getBioEntitiesIdsFromReaction(reaction);
    30
    31 dispatch(openReactionDrawerById(reaction.id));
    32
    33 dispatch(selectTab(''));
    34
    35 const response = await axiosInstanceNewAPI.get<BioEntity>(apiPath.getReactionByIdInNewApi(reaction.id, reaction.modelId));
    36 const isDataValid = validateDataUsingZodSchema(response.data, bioEntitySchema);
    37
    38 if (isDataValid) {
  • mentioned in commit 9a0e3fc9

  • Please register or sign in to reply
    Loading