File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
services/static-webserver/client/source/class/osparc/auth/ui Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -42,19 +42,17 @@ qx.Class.define("osparc.auth.ui.LoginView", {
4242 // overrides base
4343 _buildPage : function ( ) {
4444 const announcementUIFactory = osparc . announcement . AnnouncementUIFactory . getInstance ( ) ;
45- const showAnnouncement = ( ) => {
45+ const addAnnouncements = ( ) => {
4646 if ( this . __loginAnnouncements ) {
4747 this . remove ( this . __loginAnnouncements ) ;
4848 }
4949 this . __loginAnnouncements = announcementUIFactory . createLoginAnnouncements ( ) ;
5050 this . addAt ( this . __loginAnnouncements , 0 ) ;
5151 } ;
5252 if ( announcementUIFactory . hasLoginAnnouncement ( ) ) {
53- showAnnouncement ( ) ;
53+ addAnnouncements ( ) ;
5454 } else {
55- announcementUIFactory . addListenerOnce ( "changeAnnouncements" , ( ) => {
56- showAnnouncement ( ) ;
57- } ) ;
55+ announcementUIFactory . addListenerOnce ( "changeAnnouncements" , ( ) => addAnnouncements ( ) ) ;
5856 }
5957
6058 // form
You can’t perform that action at this time.
0 commit comments