File tree Expand file tree Collapse file tree 4 files changed +24
-25
lines changed
engagement_list/__tests__/__snapshots__ Expand file tree Collapse file tree 4 files changed +24
-25
lines changed Original file line number Diff line number Diff line change @@ -221,17 +221,17 @@ Object {
221
221
<div
222
222
class = " pf-l-grid__item pf-m-12-col-on-sm pf-m-4-col-on-md pf-m-2-col-on-lg"
223
223
>
224
- <button
224
+ <a
225
225
aria-disabled = " false"
226
226
class = " pf-c-button pf-m-secondary"
227
227
data-cy = " view_engagement_button"
228
228
data-ouia-component-id = " OUIA-Generated-Button-secondary-1"
229
229
data-ouia-component-type = " PF4/Button"
230
230
data-ouia-safe = " true"
231
- type = " button "
231
+ href = " /app/engagements/uuid "
232
232
>
233
233
View Engagement
234
- </button >
234
+ </a >
235
235
</div >
236
236
</div >
237
237
</div >
@@ -455,17 +455,17 @@ Object {
455
455
<div
456
456
class = " pf-l-grid__item pf-m-12-col-on-sm pf-m-4-col-on-md pf-m-2-col-on-lg"
457
457
>
458
- <button
458
+ <a
459
459
aria-disabled = " false"
460
460
class = " pf-c-button pf-m-secondary"
461
461
data-cy = " view_engagement_button"
462
462
data-ouia-component-id = " OUIA-Generated-Button-secondary-1"
463
463
data-ouia-component-type = " PF4/Button"
464
464
data-ouia-safe = " true"
465
- type = " button "
465
+ href = " /app/engagements/uuid "
466
466
>
467
467
View Engagement
468
- </button >
468
+ </a >
469
469
</div >
470
470
</div >
471
471
</div >
@@ -746,17 +746,17 @@ Object {
746
746
<div
747
747
class = " pf-l-grid__item pf-m-12-col-on-sm pf-m-4-col-on-md pf-m-2-col-on-lg"
748
748
>
749
- <button
749
+ <a
750
750
aria-disabled = " false"
751
751
class = " pf-c-button pf-m-secondary"
752
752
data-cy = " view_engagement_button"
753
753
data-ouia-component-id = " OUIA-Generated-Button-secondary-1"
754
754
data-ouia-component-type = " PF4/Button"
755
755
data-ouia-safe = " true"
756
- type = " button "
756
+ href = " /app/engagements/uuid "
757
757
>
758
758
View Engagement
759
- </button >
759
+ </a >
760
760
</div >
761
761
</div >
762
762
</div >
Original file line number Diff line number Diff line change @@ -221,17 +221,17 @@ Object {
221
221
<div
222
222
class = " pf-l-grid__item pf-m-12-col-on-sm pf-m-4-col-on-md pf-m-2-col-on-lg"
223
223
>
224
- <button
224
+ <a
225
225
aria-disabled = " false"
226
226
class = " pf-c-button pf-m-secondary"
227
227
data-cy = " view_engagement_button"
228
228
data-ouia-component-id = " OUIA-Generated-Button-secondary-1"
229
229
data-ouia-component-type = " PF4/Button"
230
230
data-ouia-safe = " true"
231
- type = " button "
231
+ href = " /app/engagements/uuid "
232
232
>
233
233
View Engagement
234
- </button >
234
+ </a >
235
235
</div >
236
236
</div >
237
237
</div >
@@ -455,17 +455,17 @@ Object {
455
455
<div
456
456
class = " pf-l-grid__item pf-m-12-col-on-sm pf-m-4-col-on-md pf-m-2-col-on-lg"
457
457
>
458
- <button
458
+ <a
459
459
aria-disabled = " false"
460
460
class = " pf-c-button pf-m-secondary"
461
461
data-cy = " view_engagement_button"
462
462
data-ouia-component-id = " OUIA-Generated-Button-secondary-1"
463
463
data-ouia-component-type = " PF4/Button"
464
464
data-ouia-safe = " true"
465
- type = " button "
465
+ href = " /app/engagements/uuid "
466
466
>
467
467
View Engagement
468
- </button >
468
+ </a >
469
469
</div >
470
470
</div >
471
471
</div >
Original file line number Diff line number Diff line change @@ -221,17 +221,17 @@ Object {
221
221
<div
222
222
class = " pf-l-grid__item pf-m-12-col-on-sm pf-m-4-col-on-md pf-m-2-col-on-lg"
223
223
>
224
- <button
224
+ <a
225
225
aria-disabled = " false"
226
226
class = " pf-c-button pf-m-secondary"
227
227
data-cy = " view_engagement_button"
228
228
data-ouia-component-id = " OUIA-Generated-Button-secondary-2"
229
229
data-ouia-component-type = " PF4/Button"
230
230
data-ouia-safe = " true"
231
- type = " button "
231
+ href = " /app/engagements/uuid "
232
232
>
233
233
View Engagement
234
- </button >
234
+ </a >
235
235
</div >
236
236
</div >
237
237
</div >
@@ -455,17 +455,17 @@ Object {
455
455
<div
456
456
class = " pf-l-grid__item pf-m-12-col-on-sm pf-m-4-col-on-md pf-m-2-col-on-lg"
457
457
>
458
- <button
458
+ <a
459
459
aria-disabled = " false"
460
460
class = " pf-c-button pf-m-secondary"
461
461
data-cy = " view_engagement_button"
462
462
data-ouia-component-id = " OUIA-Generated-Button-secondary-2"
463
463
data-ouia-component-type = " PF4/Button"
464
464
data-ouia-safe = " true"
465
- type = " button "
465
+ href = " /app/engagements/uuid "
466
466
>
467
467
View Engagement
468
- </button >
468
+ </a >
469
469
</div >
470
470
</div >
471
471
</div >
Original file line number Diff line number Diff line change @@ -68,11 +68,10 @@ export function EngagementListItem(props: DataCardProps) {
68
68
</ GridItem >
69
69
< GridItem sm = { 12 } md = { 4 } lg = { 2 } >
70
70
< Button
71
- onClick = { ( ) => {
72
- history . push ( url ) ;
73
- } }
71
+ href = { url }
74
72
variant = "secondary"
75
- data-cy = { 'view_engagement_button' }
73
+ data-cy = "view_engagement_button"
74
+ component = "a"
76
75
>
77
76
View Engagement
78
77
</ Button >
You can’t perform that action at this time.
0 commit comments