diff --git a/R/ms_drive_item.R b/R/ms_drive_item.R index 59061c7..f6700e9 100644 --- a/R/ms_drive_item.R +++ b/R/ms_drive_item.R @@ -150,7 +150,8 @@ public=list( is_folder=function() { - !is.null(self$properties$folder) + children <- self$properties$folder$childCount + !is.null(children) && !is.na(children) }, open=function()