File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
frontend/js/app/nginx/certificates Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -278,9 +278,11 @@ module.exports = Mn.View.extend({
278
278
this . ui . credentials_file_content . hide ( ) ;
279
279
this . ui . loader_content . hide ( ) ;
280
280
this . ui . le_error_info . hide ( ) ;
281
- const domainNames = this . ui . domain_names [ 0 ] . value . split ( ',' ) ;
282
- if ( ! domainNames || domainNames . length === 0 || ( domainNames . length === 1 && domainNames [ 0 ] === "" ) ) {
283
- this . ui . test_domains_button . prop ( 'disabled' , true ) ;
281
+ if ( this . ui . domain_names [ 0 ] ) {
282
+ const domainNames = this . ui . domain_names [ 0 ] . value . split ( ',' ) ;
283
+ if ( ! domainNames || domainNames . length === 0 || ( domainNames . length === 1 && domainNames [ 0 ] === "" ) ) {
284
+ this . ui . test_domains_button . prop ( 'disabled' , true ) ;
285
+ }
284
286
}
285
287
} ,
286
288
You can’t perform that action at this time.
0 commit comments