Skip to content

Commit

Permalink
remove "!" from global navbar site admin status messages (sourcegraph…
Browse files Browse the repository at this point in the history
…#58254)

The "!" is unnecessary and strikes the wrong tone.
  • Loading branch information
sqs authored Nov 10, 2023
1 parent 2102bc8 commit 8d4f86a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/web/src/nav/StatusMessagesNavItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -216,10 +216,10 @@ export const StatusMessagesNavItem: React.FunctionComponent<React.PropsWithChild
({ __typename: type }) => type === 'ExternalServiceSyncError' || type === 'SyncError'
)
) {
codeHostMessage = 'Syncing repositories failed!'
codeHostMessage = 'Syncing repositories failed'
iconProps = { as: CloudAlertIconRefresh }
} else if (data.statusMessages?.some(({ __typename: type }) => type === 'GitUpdatesDisabled')) {
codeHostMessage = 'Syncing repositories disabled!'
codeHostMessage = 'Syncing repositories disabled'
iconProps = { as: CloudAlertIconRefresh }
} else if (data.statusMessages?.some(({ __typename: type }) => type === 'CloningProgress')) {
codeHostMessage = 'Cloning repositories...'
Expand Down

0 comments on commit 8d4f86a

Please sign in to comment.