Skip to content

Commit

Permalink
feat: Compute map for story
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Boutour <[email protected]>
  • Loading branch information
ViBiOh committed Sep 10, 2022
1 parent 93539c5 commit 99fe46d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/crud/story.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func (a App) story(r *http.Request, request provider.Request, item absto.Item, f

exif := exifs[file.ID]

if !request.Share.Story && !hasMap && exif.Geocode.HasCoordinates() {
if !hasMap && exif.Geocode.HasCoordinates() {
hasMap = true
}

Expand Down

0 comments on commit 99fe46d

Please sign in to comment.