File tree Expand file tree Collapse file tree 1 file changed +17
-15
lines changed
mithril-explorer/src/components/EpochSettings Expand file tree Collapse file tree 1 file changed +17
-15
lines changed Original file line number Diff line number Diff line change @@ -81,21 +81,23 @@ export default function EpochSettings() {
81
81
</ Row >
82
82
</ Container >
83
83
</ Card . Body >
84
- { registrationPageUrl && inOutRegistrationsPageUrl && (
85
- < Card . Footer >
86
- < Stack
87
- direction = "horizontal"
88
- gap = { 1 }
89
- className = "justify-content-md-end align-items-stretch justify-content-sm-center" >
90
- < LinkButton href = { registrationPageUrl } >
91
- < i className = "bi bi-pen" > </ i > Registered Signers
92
- </ LinkButton >
93
- < LinkButton href = { inOutRegistrationsPageUrl } className = "" >
94
- < i className = "bi bi-arrow-left-right translate-middle-y" > </ i > In/Out Registrations
95
- </ LinkButton >
96
- </ Stack >
97
- </ Card . Footer >
98
- ) }
84
+ < Card . Footer >
85
+ < Stack
86
+ direction = "horizontal"
87
+ gap = { 1 }
88
+ className = "justify-content-md-end align-items-stretch justify-content-sm-center" >
89
+ < LinkButton
90
+ href = { registrationPageUrl ?? "#" }
91
+ disabled = { registrationPageUrl === undefined } >
92
+ < i className = "bi bi-pen" > </ i > Registered Signers
93
+ </ LinkButton >
94
+ < LinkButton
95
+ href = { inOutRegistrationsPageUrl ?? "#" }
96
+ disabled = { inOutRegistrationsPageUrl === undefined } >
97
+ < i className = "bi bi-arrow-left-right translate-middle-y" > </ i > In/Out Registrations
98
+ </ LinkButton >
99
+ </ Stack >
100
+ </ Card . Footer >
99
101
</ Card >
100
102
</ div >
101
103
) ;
You can’t perform that action at this time.
0 commit comments