File tree Expand file tree Collapse file tree 4 files changed +3
-15
lines changed
Clusters/views/ClusterOverview
shared/components/EmptyListComponent Expand file tree Collapse file tree 4 files changed +3
-15
lines changed Original file line number Diff line number Diff line change @@ -107,10 +107,7 @@ export default function ClusterModulesCard() {
107107 : null ,
108108 ] }
109109 additionalContent = {
110- < Button
111- design = "Emphasized"
112- onClick = { ( ) => navigate ( clusterUrl ( 'kymamodules' ) ) }
113- >
110+ < Button onClick = { ( ) => navigate ( clusterUrl ( 'kymamodules' ) ) } >
114111 { t ( 'kyma-modules.modify-modules' ) }
115112 </ Button >
116113 }
Original file line number Diff line number Diff line change @@ -363,11 +363,7 @@ export const CommunityModulesList = ({
363363 actions = { actions as any }
364364 customRowClick = { handleClickResource }
365365 extraHeaderContent = { [
366- < Button
367- key = "add-community-module"
368- design = "Emphasized"
369- onClick = { handleShowAddModule }
370- >
366+ < Button key = "add-community-module" onClick = { handleShowAddModule } >
371367 { t ( 'common.buttons.add' ) }
372368 </ Button > ,
373369 ] }
Original file line number Diff line number Diff line change @@ -306,7 +306,6 @@ export const KymaModulesList = ({
306306 extraHeaderContent = { [
307307 < Button
308308 key = "add-module"
309- design = "Emphasized"
310309 disabled = { ! resource }
311310 onClick = { handleShowAddModule }
312311 >
Original file line number Diff line number Diff line change @@ -60,11 +60,7 @@ export const EmptyListComponent = ({
6060 subtitle = { < span className = "sap-margin-top-small" > { subtitle } </ span > }
6161 >
6262 < div className = "emptyListComponent__buttons" >
63- { showButton && (
64- < Button design = "Emphasized" onClick = { onClick } >
65- { buttonText }
66- </ Button >
67- ) }
63+ { showButton && < Button onClick = { onClick } > { buttonText } </ Button > }
6864 { url && (
6965 < ExternalLink
7066 text = "Learn More"
You can’t perform that action at this time.
0 commit comments