Skip to content

Commit

Permalink
Merge pull request #2997 from the-deep/feature/unpublished-geo-areas
Browse files Browse the repository at this point in the history
Unpublished region option in Geo Areas
  • Loading branch information
subinasr authored Oct 24, 2024
2 parents 40b9bb0 + 6f8623c commit 576353d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/components/selections/RegionSelectInput/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,15 @@ const REGION_LIST = gql`
$pageSize: Int,
$page: Int,
$public: Boolean,
$isPublished: Boolean,
) {
regions(
excludeProject: $excludeProject,
search: $search,
pageSize: $pageSize,
page: $page,
public: $public,
isPublished: $isPublished,
) {
page
results {
Expand Down Expand Up @@ -73,6 +75,7 @@ function RegionSelectInput<K extends string, GK extends string>(
excludeProject: [projectId],
search: debouncedSearchText,
public: true,
isPublished: true,
page: 1,
pageSize: 10,
}), [
Expand Down

0 comments on commit 576353d

Please sign in to comment.