Update to /pkg/selectors/sharepoint.go
Bug fix: SharePoint selector misalignmet that causes panic on details command.
This commit is contained in:
parent
6d615810cd
commit
8f556c59a4
@ -224,7 +224,7 @@ func (s *sharePoint) AllData() []SharePointScope {
|
|||||||
scopes,
|
scopes,
|
||||||
makeScope[SharePointScope](SharePointLibrary, Any()),
|
makeScope[SharePointScope](SharePointLibrary, Any()),
|
||||||
makeScope[SharePointScope](SharePointList, Any()),
|
makeScope[SharePointScope](SharePointList, Any()),
|
||||||
makeScope[SharePointScope](SharePointPage, Any()),
|
makeScope[SharePointScope](SharePointPageFolder, Any()),
|
||||||
)
|
)
|
||||||
|
|
||||||
return scopes
|
return scopes
|
||||||
@ -323,7 +323,7 @@ func (s *sharePoint) PageItems(pages, items []string, opts ...option) []SharePoi
|
|||||||
scopes = append(
|
scopes = append(
|
||||||
scopes,
|
scopes,
|
||||||
makeScope[SharePointScope](SharePointPage, items).
|
makeScope[SharePointScope](SharePointPage, items).
|
||||||
set(SharePointPage, pages, opts...),
|
set(SharePointPageFolder, pages, opts...),
|
||||||
)
|
)
|
||||||
|
|
||||||
return scopes
|
return scopes
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user