File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
services/static-webserver/client/source/class/osparc/po Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -152,6 +152,16 @@ qx.Class.define("osparc.po.UsersPending", {
152152 _createChildControlImpl : function ( id ) {
153153 let control ;
154154 switch ( id ) {
155+ case "reload-button" :
156+ control = new qx . ui . form . Button ( this . tr ( "Reload" ) ) . set ( {
157+ allowGrowX : false ,
158+ } ) ;
159+ control . addListener ( "execute" , ( ) => {
160+ this . getChildControl ( "pending-users-layout" ) . removeAll ( ) ;
161+ this . __populatePendingUsersLayout ( ) ;
162+ } ) ;
163+ this . _add ( control ) ;
164+ break ;
155165 case "pending-users-container" :
156166 control = new qx . ui . container . Scroll ( ) ;
157167 this . _add ( control , {
@@ -169,6 +179,7 @@ qx.Class.define("osparc.po.UsersPending", {
169179 } ,
170180
171181 _buildLayout : function ( ) {
182+ this . getChildControl ( "reload-button" ) ;
172183 this . getChildControl ( "pending-users-container" ) ;
173184
174185 this . __populatePendingUsersLayout ( ) ;
You can’t perform that action at this time.
0 commit comments