Skip to content

Commit

Permalink
alter graphql query from teamSettings to settings
Browse files Browse the repository at this point in the history
  • Loading branch information
RODO94 committed Jul 2, 2024
1 parent 9856282 commit 409584d
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion editor.planx.uk/src/routes/views/draft.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const fetchSettingsForDraftView = async (
favicon
}
name
teamSettings: team_settings {
settings: team_settings {
boundaryUrl: boundary_url
homepage
helpEmail: help_email
Expand Down
2 changes: 1 addition & 1 deletion editor.planx.uk/src/routes/views/published.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export const fetchSettingsForPublishedView = async (
favicon
}
name
teamSettings: team_settings {
settings: team_settings {
boundaryUrl: boundary_url
homepage
helpEmail: help_email
Expand Down
2 changes: 1 addition & 1 deletion editor.planx.uk/src/routes/views/standalone.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const fetchDataForStandaloneView = async (
favicon
}
name
teamSettings: team_settings {
settings: team_settings {
boundaryUrl: boundary_url
homepage
helpEmail: help_email
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ const getTitleAndContent = (

interface Props {
purpose: DialogPurpose;
teamSettings?: Partial<TeamSettings>;
}

export default function ExternalPlanningSiteDialog({
Expand Down

0 comments on commit 409584d

Please sign in to comment.