Skip to content

Commit

Permalink
chore: Update queries for new team_themes columns
Browse files Browse the repository at this point in the history
  • Loading branch information
DafyddLlyr committed Jan 10, 2024
1 parent f55499c commit 7444999
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 10 deletions.
9 changes: 5 additions & 4 deletions api.planx.uk/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions editor.planx.uk/src/routes/views/published.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,9 @@ const fetchDataForPublishedView = async (
id
team {
theme {
primary: primary_colour
secondary: secondary_colour
primaryColour: primary_colour
actionColour: action_colour
linkColour: link_colour
logo
favicon
}
Expand Down
5 changes: 3 additions & 2 deletions editor.planx.uk/src/routes/views/standalone.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,9 @@ const fetchDataForStandaloneView = async (
id
team {
theme {
primary: primary_colour
secondary: secondary_colour
primaryColour: primary_colour
actionColour: action_colour
linkColour: link_colour
logo
favicon
}
Expand Down
5 changes: 3 additions & 2 deletions editor.planx.uk/src/routes/views/unpublished.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,9 @@ const fetchDataForUnpublishedView = async (
id
team {
theme {
primary: primary_colour
secondary: secondary_colour
primaryColour: primary_colour
actionColour: action_colour
linkColour: link_colour
logo
favicon
}
Expand Down

0 comments on commit 7444999

Please sign in to comment.