Skip to content

Commit

Permalink
Replace provider_type with source_type
Browse files Browse the repository at this point in the history
  • Loading branch information
dlabrecq committed Aug 17, 2023
1 parent 198cde1 commit 6a4d51c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/routes/settings/tagDetails/tagTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class TagTableBase extends React.Component<TagTableProps, TagTableState> {
...(tags.length && { isSortable: true }),
},
{
orderBy: 'provider_type',
orderBy: 'source_type',
name: intl.formatMessage(messages.sourceType),
...(tags.length && { isSortable: true }),
},
Expand All @@ -95,7 +95,7 @@ class TagTableBase extends React.Component<TagTableProps, TagTableState> {
),
},
{
value: intl.formatMessage(messages.sourceTypes, { value: item.provider_type.toLowerCase() }),
value: intl.formatMessage(messages.sourceTypes, { value: item?.source_type?.toLowerCase() }),
},
],
item,
Expand Down
4 changes: 1 addition & 3 deletions src/routes/settings/tagDetails/tagToolbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,7 @@ export class TagToolbarBase extends React.Component<TagToolbarProps, TagToolbarS
name: intl.formatMessage(messages.filterByValues, { value: 'name' }),
},
{
ariaLabelKey: 'source_type',
placeholderKey: 'source_type',
key: 'provider_type',
key: 'source_type',
name: intl.formatMessage(messages.filterByValues, { value: 'source_type' }),
selectClassName: 'selectOverride', // A selector from routes/components/dataToolbar/dataToolbar.scss
selectOptions: [
Expand Down

0 comments on commit 6a4d51c

Please sign in to comment.