mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 14:51:44 +00:00
remove "!" from global navbar site admin status messages (#58254)
The "!" is unnecessary and strikes the wrong tone.
This commit is contained in:
parent
2102bc825d
commit
8d4f86a9f1
@ -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...'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user