Skip to content

Commit

Permalink
Switched language to be "Filter by" on all pages
Browse files Browse the repository at this point in the history
- Also switched the language in the StaticTemplatePage to be consistent
  with the other pages
  • Loading branch information
deanshi committed Feb 4, 2025
1 parent efba9ca commit a2c91c4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const AssociateAlert = ({ onApply, onCancel }: AssociateAlertPageProps) => {
<Col className="associate-alert-filter-selection">
<FilterGroup
className="mb-5"
header="Message state"
header="Filter by message state"
selectedFilter={selectedMessageState}
onFilterSelect={setSelectedMessageState}
filters={[
Expand All @@ -70,7 +70,7 @@ const AssociateAlert = ({ onApply, onCancel }: AssociateAlertPageProps) => {
]}
/>
<FilterGroup
header="Service type"
header="Filter by service type"
selectedFilter={selectedServiceType}
onFilterSelect={setSelectedServiceType}
filters={serviceTypes.map((serviceType) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const StaticTemplatePage = ({ onCancel, onSelect }: Props) => {
<Row className="static-template-page-body">
<Col className="filter-group-col">
<FilterGroup
header="Template type"
header="Filter by template type"
selectedFilter={selectedTemplateType}
onFilterSelect={(templateType) =>
setSelectedTemplateType(templateType as TemplateType)
Expand Down
4 changes: 2 additions & 2 deletions assets/js/components/Dashboard/PaMessagesPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ const PaMessagesPage: ComponentType = () => {
</section>
<FilterGroup
className="mb-5"
header="Message state"
header="Filter by message state"
onFilterSelect={(selected) =>
setStateFilter(selected as StateFilter)
}
Expand All @@ -173,7 +173,7 @@ const PaMessagesPage: ComponentType = () => {
]}
/>
<FilterGroup
header="Service type"
header="Filter by service type"
onFilterSelect={(selected) => {
const serviceType = selected as ServiceType;
if (serviceType === "All") {
Expand Down

0 comments on commit a2c91c4

Please sign in to comment.