Skip to content

Commit eb52584

Browse files
committed
header
1 parent 3568bac commit eb52584

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

services/static-webserver/client/source/class/osparc/po/UsersPending.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ qx.Class.define("osparc.po.UsersPending", {
116116
_buildLayout: function() {
117117
this.getChildControl("reload-button");
118118
this.getChildControl("pending-users-container");
119-
119+
this.__addHeader();
120120
this.__populatePendingUsersLayout();
121121
},
122122

@@ -251,8 +251,6 @@ qx.Class.define("osparc.po.UsersPending", {
251251
.then(resps => {
252252
const pendingUsers = resps[0];
253253
const reviewedUsers = resps[1];
254-
const pendingUsersLayout = this.getChildControl("pending-users-layout");
255-
pendingUsersLayout.removeAll();
256254
const sortByDate = (a, b) => {
257255
const dateA = a.accountRequestReviewedAt ? new Date(a.accountRequestReviewedAt) : new Date(0);
258256
const dateB = b.accountRequestReviewedAt ? new Date(b.accountRequestReviewedAt) : new Date(0);
@@ -267,6 +265,7 @@ qx.Class.define("osparc.po.UsersPending", {
267265

268266
__reload: function() {
269267
this.getChildControl("pending-users-layout").removeAll();
268+
this.__addHeader();
270269
this.__populatePendingUsersLayout();
271270
},
272271

0 commit comments

Comments
 (0)