Skip to content

Commit

Permalink
avoid warnings while checking for which editor to use
Browse files Browse the repository at this point in the history
  • Loading branch information
Gutschlhofer committed Jul 4, 2019
1 parent a4a2d95 commit 4112a08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/modules.R
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ editMod <- function(

# leaflet.pm returns only a single feature while leaflet.extras returns feature collection
# convert leaflet.pm so logic will be the same
if(editor == "leafpm") {
if(editor[1] == "leafpm") {
deleted <- list(
type = "FeatureCollection",
features = list(deleted)
Expand Down

0 comments on commit 4112a08

Please sign in to comment.