From 6a4d51cd076064b479733004fd162768d0c9a7cf Mon Sep 17 00:00:00 2001 From: Dan Labrecque Date: Thu, 17 Aug 2023 18:02:42 -0400 Subject: [PATCH] Replace provider_type with source_type --- src/routes/settings/tagDetails/tagTable.tsx | 4 ++-- src/routes/settings/tagDetails/tagToolbar.tsx | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/routes/settings/tagDetails/tagTable.tsx b/src/routes/settings/tagDetails/tagTable.tsx index 89282143e..9e71184cb 100644 --- a/src/routes/settings/tagDetails/tagTable.tsx +++ b/src/routes/settings/tagDetails/tagTable.tsx @@ -74,7 +74,7 @@ class TagTableBase extends React.Component { ...(tags.length && { isSortable: true }), }, { - orderBy: 'provider_type', + orderBy: 'source_type', name: intl.formatMessage(messages.sourceType), ...(tags.length && { isSortable: true }), }, @@ -95,7 +95,7 @@ class TagTableBase extends React.Component { ), }, { - value: intl.formatMessage(messages.sourceTypes, { value: item.provider_type.toLowerCase() }), + value: intl.formatMessage(messages.sourceTypes, { value: item?.source_type?.toLowerCase() }), }, ], item, diff --git a/src/routes/settings/tagDetails/tagToolbar.tsx b/src/routes/settings/tagDetails/tagToolbar.tsx index e47a3c304..5d1800eb3 100644 --- a/src/routes/settings/tagDetails/tagToolbar.tsx +++ b/src/routes/settings/tagDetails/tagToolbar.tsx @@ -109,9 +109,7 @@ export class TagToolbarBase extends React.Component