more robust is_folder logic
This commit is contained in:
Родитель
e354ab2c44
Коммит
fba3346640
|
@ -150,7 +150,8 @@ public=list(
|
||||||
|
|
||||||
is_folder=function()
|
is_folder=function()
|
||||||
{
|
{
|
||||||
!is.null(self$properties$folder)
|
children <- self$properties$folder$childCount
|
||||||
|
!is.null(children) && !is.na(children)
|
||||||
},
|
},
|
||||||
|
|
||||||
open=function()
|
open=function()
|
||||||
|
|
Загрузка…
Ссылка в новой задаче