@@ -31,7 +31,7 @@ export const PlanMigrationDetail = ({ migration, editLink }: Props) => {
3131 const { t } = useTranslate ( ) ;
3232 if ( ! migration ) {
3333 return (
34- < Box padding = { 3 } >
34+ < Box p = { 3 } >
3535 < Typography variant = { 'subtitle2' } >
3636 { t ( 'administration_plan_migration_not_found' ) }
3737 </ Typography >
@@ -56,11 +56,22 @@ export const PlanMigrationDetail = ({ migration, editLink }: Props) => {
5656 />
5757 ) }
5858 </ Box >
59- < MigrationDetailBox className = { clsx ( ! migration . enabled && 'inactive' ) } >
59+ < MigrationDetailBox className = { clsx ( { inactive : ! migration . enabled } ) } >
6060 < Box display = "flex" gap = { 1 } alignItems = "center" mb = { 1 } >
61- < PlanMigrationPlanPriceDetail plan = { migration . sourcePlan } />
62- < ArrowRight width = { 18 } height = { 18 } />
63- < PlanMigrationPlanPriceDetail plan = { migration . targetPlan } />
61+ < PlanMigrationPlanPriceDetail
62+ plan = { migration . sourcePlan }
63+ label = { t ( 'administration_plan_migration_from' ) }
64+ />
65+ < ArrowRight
66+ width = { 18 }
67+ height = { 18 }
68+ aria-hidden = "true"
69+ focusable = "false"
70+ />
71+ < PlanMigrationPlanPriceDetail
72+ plan = { migration . targetPlan }
73+ label = { t ( 'administration_plan_migration_to' ) }
74+ />
6475 </ Box >
6576 < Box mt = { 2 } >
6677 < Typography variant = { 'subtitle2' } >
@@ -84,7 +95,6 @@ export const PlanMigrationDetail = ({ migration, editLink }: Props) => {
8495 </ MigrationDetailBox >
8596 < Box display = "flex" justifyContent = "center" mt = { 3 } >
8697 < Button
87- key = "edit-migration"
8898 variant = "contained"
8999 size = "medium"
90100 startIcon = { < Settings01 width = { 19 } height = { 19 } /> }
0 commit comments