From c0e08a751daf4d5ee79fab4c00cb44807b1295c7 Mon Sep 17 00:00:00 2001 From: trafficonese Date: Mon, 22 Jul 2024 13:34:45 +0000 Subject: [PATCH] Style code (GHA) --- R/draw.R | 1 - R/drawOptions.R | 2 -- 2 files changed, 3 deletions(-) diff --git a/R/draw.R b/R/draw.R index 4aac7d9..a5f1d27 100644 --- a/R/draw.R +++ b/R/draw.R @@ -97,7 +97,6 @@ addDrawToolbar <- function( edittoolbar = NULL, edithandlers = NULL, drag = TRUE) { - if (!is.null(targetGroup) && !is.null(targetLayerId)) { stop("To edit existing features either specify a targetGroup or a targetLayerId, but not both") } diff --git a/R/drawOptions.R b/R/drawOptions.R index 60914f0..30c4db0 100644 --- a/R/drawOptions.R +++ b/R/drawOptions.R @@ -402,7 +402,6 @@ edithandlersOptions <- function( remove = list( tooltipText = "Click on a feature to remove." )) { - leaflet::filterNULL(list( edit = list( tooltip = list( @@ -446,7 +445,6 @@ edittoolbarOptions <- function( remove = "Delete layers", removeDisabled = "No layers to delete" )) { - leaflet::filterNULL(list( actions = actions, buttons = buttons