File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -152,11 +152,6 @@ export class ExploreSpacesService extends AsyncHandler implements OnDestroy {
152152 } ) ,
153153 ) ;
154154 }
155- this . _event_form . newForm ( ) ;
156- this . _event_form . form . patchValue ( {
157- host : currentUser ( ) ?. email ,
158- resources : [ space ] ,
159- } ) ;
160155 if ( room_alerts [ space . id ] ?. [ 0 ] === 'closed' ) {
161156 return notifyError ( `${ room_alerts [ space . id ] [ 1 ] } ` ) ;
162157 }
@@ -181,6 +176,11 @@ export class ExploreSpacesService extends AsyncHandler implements OnDestroy {
181176 window . open ( url , '_blank' , 'noopener noreferer' ) ;
182177 return ;
183178 }
179+ this . _event_form . newForm ( ) ;
180+ this . _event_form . form . patchValue ( {
181+ host : currentUser ( ) ?. email ,
182+ resources : [ space ] ,
183+ } ) ;
184184 this . _dialog . open (
185185 ( this . _settings . get ( 'app.explore.show_booking_qr' )
186186 ? ExploreBookQrComponent
You can’t perform that action at this time.
0 commit comments