diff --git a/src/components/MenuItem.tsx b/src/components/MenuItem.tsx index 1365824e8eb0..c10da1800694 100644 --- a/src/components/MenuItem.tsx +++ b/src/components/MenuItem.tsx @@ -160,7 +160,7 @@ type MenuItemBaseProps = { hintText?: MaybePhraseKey; /** Should the error text red dot indicator be shown */ - shouldShowErrorTextRedDot?: boolean; + shouldShowRedDotIndicator?: boolean; /** A boolean flag that gives the icon a green fill if true */ success?: boolean; @@ -315,7 +315,7 @@ function MenuItem( helperTextStyle, errorText, errorTextStyle, - shouldShowErrorTextRedDot, + shouldShowRedDotIndicator, hintText, success = false, focused = false, @@ -691,7 +691,7 @@ function MenuItem( {!!errorText && ( diff --git a/src/pages/workspace/accounting/PolicyAccountingPage.tsx b/src/pages/workspace/accounting/PolicyAccountingPage.tsx index 6a5fdd4b6b80..d33611ec09f2 100644 --- a/src/pages/workspace/accounting/PolicyAccountingPage.tsx +++ b/src/pages/workspace/accounting/PolicyAccountingPage.tsx @@ -175,7 +175,7 @@ function PolicyAccountingPage({policy, connectionSyncProgress}: PolicyAccounting title: integrationData?.title, errorText: shouldShowSynchronizationError ? translate('workspace.accounting.syncError', connectedIntegration) : undefined, errorTextStyle: [styles.mt5], - shouldShowErrorTextRedDot: true, + shouldShowRedDotIndicator: true, description: isSyncInProgress ? translate('workspace.accounting.connections.syncStageName', connectionSyncProgress.stageInProgress) : translate('workspace.accounting.lastSync'),