mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-17 09:45:29 +00:00
chore: update alert message
This commit is contained in:
parent
87113eb208
commit
4f59c35e87
@ -126,11 +126,11 @@ export default function App(): React.ReactElement {
|
||||
>
|
||||
<ConfigurationContext.Provider value={configContextValue}>
|
||||
<AuthenticatedContext.Provider value={authContextValue}>
|
||||
{(configuration?.registerEnabled || configuration?.ssoLogin) && isAuthenticated === false && location.pathname !== '/login' &&
|
||||
{(configuration?.registerEnabled || configuration?.ssoLogin) && isAuthenticated === false && !['/login', '/home'].includes(location.pathname) &&
|
||||
<Alert
|
||||
type="warning"
|
||||
message={t`Please authenticate to take advantage of all features, monitor domains and manage your Connectors.`}
|
||||
action={<Link to='/login'><Button>{t`Log in`}`</Button></Link>}
|
||||
message={t`Please log in to access all features, monitor domains, and manage your Connectors.`}
|
||||
action={<Link to='/login'><Button>{t`Log in`}</Button></Link>}
|
||||
banner closable/>
|
||||
}
|
||||
<Layout hasSider style={{minHeight: '100vh'}}>
|
||||
|
||||
@ -9,8 +9,8 @@ msgstr ""
|
||||
|
||||
#: assets/App.tsx:132
|
||||
msgid ""
|
||||
"Please authenticate to take advantage of all features, monitor domains and "
|
||||
"manage your Connectors."
|
||||
"Please log in to access all features, monitor domains, and manage your "
|
||||
"Connectors."
|
||||
msgstr ""
|
||||
|
||||
#: assets/App.tsx:133
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user