Update pkg/selectors/sharepoint.go

Bug Fix: Carried forward into package. Allows for display of backed up data within details.
This commit is contained in:
Danny Adams 2023-01-21 17:36:30 -05:00
parent 7fbb06a69f
commit e6c7bbbb9e

View File

@ -224,7 +224,7 @@ func (s *sharePoint) AllData() []SharePointScope {
scopes,
makeScope[SharePointScope](SharePointLibrary, Any()),
makeScope[SharePointScope](SharePointList, Any()),
makeScope[SharePointScope](SharePointPage, Any()),
makeScope[SharePointScope](SharePointPageFolder, Any()),
)
return scopes
@ -323,7 +323,7 @@ func (s *sharePoint) PageItems(pages, items []string, opts ...option) []SharePoi
scopes = append(
scopes,
makeScope[SharePointScope](SharePointPage, items).
set(SharePointPage, pages, opts...),
set(SharePointPageFolder, pages, opts...),
)
return scopes