mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-11 16:24:42 +00:00
Merge pull request #11977 from overleaf/jel-subscription-dash-alert
[web] Add aria-live="polite" to subscription dash alert GitOrigin-RevId: 29ce9e3ab26ab21a7e86fdbe90fb228c68bb8d98
This commit is contained in:
parent
c67da92287
commit
1c3b05d4a8
1 changed files with 2 additions and 3 deletions
|
@ -9,7 +9,6 @@ import ManagedGroupSubscriptions from './managed-group-subscriptions'
|
|||
import ManagedInstitutions from './managed-institutions'
|
||||
import { useSubscriptionDashboardContext } from '../../context/subscription-dashboard-context'
|
||||
import getMeta from '../../../../utils/meta'
|
||||
import { Alert } from 'react-bootstrap'
|
||||
|
||||
function SubscriptionDashboard() {
|
||||
const { t } = useTranslation()
|
||||
|
@ -23,9 +22,9 @@ function SubscriptionDashboard() {
|
|||
<div className="row">
|
||||
<div className="col-md-8 col-md-offset-2">
|
||||
{fromPlansPage && (
|
||||
<Alert bsStyle="warning">
|
||||
<div className="alert alert-warning" aria-live="polite">
|
||||
{t('you_already_have_a_subscription')}
|
||||
</Alert>
|
||||
</div>
|
||||
)}
|
||||
<div className="card">
|
||||
<div className="page-header">
|
||||
|
|
Loading…
Reference in a new issue