Update EE breadcrumb to use name instead of image

Update EE breadcrumb to use name instead of image to be consistent with
the other screens.

See: https://github.com/ansible/awx/issues/9087
This commit is contained in:
nixocio 2021-03-01 11:10:31 -05:00 committed by Shane McDonald
parent aab58f5ae7
commit fd21603c0e

View File

@ -22,7 +22,7 @@ function ExecutionEnvironments({ i18n }) {
setBreadcrumbConfig({
'/execution_environments': i18n._(t`Execution environments`),
'/execution_environments/add': i18n._(t`Create Execution environments`),
[`/execution_environments/${executionEnvironments.id}`]: `${executionEnvironments.image}`,
[`/execution_environments/${executionEnvironments.id}`]: `${executionEnvironments.name}`,
[`/execution_environments/${executionEnvironments.id}/edit`]: i18n._(
t`Edit details`
),