Skip to content

Commit

Permalink
Merge pull request #6237 from CitizenLabDotCo/TAN-458-fix-inconsisten…
Browse files Browse the repository at this point in the history
…t-prop-naming

Rename projectFilter to projectId for all craft widgets default props
  • Loading branch information
luucvanderzee authored Oct 24, 2023
2 parents 7db64db + 80cb573 commit f7a5e23
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const ActiveUsersWidget = ({
ActiveUsersWidget.craft = {
props: {
title: '',
projectFilter: undefined,
projectId: undefined,
startAtMoment: undefined,
endAtMoment: null,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const AgeWidget = ({ title, projectId, startAt, endAt }: ChartWidgetProps) => {
AgeWidget.craft = {
props: {
title: '',
projectFilter: undefined,
projectId: undefined,
startAt: undefined,
endAt: null,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const CommentsByTimeWidget = ({
CommentsByTimeWidget.craft = {
props: {
title: '',
projectFilter: undefined,
projectId: undefined,
startAt: undefined,
endAt: null,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const GenderWidget = ({
GenderWidget.craft = {
props: {
title: '',
projectFilter: undefined,
projectId: undefined,
startAt: undefined,
endAt: null,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const PostsByTimeWidget = ({
PostsByTimeWidget.craft = {
props: {
title: '',
projectFilter: undefined,
projectId: undefined,
startAt: undefined,
endAt: null,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const ReactionsByTimeWidget = ({
ReactionsByTimeWidget.craft = {
props: {
title: '',
projectFilter: undefined,
projectId: undefined,
startAt: undefined,
endAt: null,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const VisitorsTrafficSourcesWidget = ({
VisitorsTrafficSourcesWidget.craft = {
props: {
title: '',
projectFilter: undefined,
projectId: undefined,
startAtMoment: undefined,
endAtMoment: null,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const VisitorsWidget = ({
VisitorsWidget.craft = {
props: {
title: '',
projectFilter: undefined,
projectId: undefined,
startAt: undefined,
endAt: undefined,
},
Expand Down

0 comments on commit f7a5e23

Please sign in to comment.