Skip to content

Commit 07b68e6

Browse files
committed
robot is right
1 parent 9086b3b commit 07b68e6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ qx.Class.define("osparc.po.UsersPending", {
179179
date = pendingUser.accountRequestReviewedAt ? osparc.utils.Utils.formatDateAndTime(new Date(pendingUser.accountRequestReviewedAt)) : "-";
180180
break;
181181
}
182-
pendingUsersLayout.add(date, {
182+
pendingUsersLayout.add(new qx.ui.basic.Label(date), {
183183
row,
184184
column: 2,
185185
});
@@ -248,13 +248,13 @@ qx.Class.define("osparc.po.UsersPending", {
248248
const sortByDate = (a, b) => {
249249
let dateA = new Date(0); // default to epoch if no date is available
250250
if (a.accountRequestStatus === "PENDING" && a.preRegistrationRequestedAt) {
251-
dateA = new Date(a.preRegistrationRequestedAt)
251+
dateA = new Date(a.preRegistrationRequestedAt);
252252
} else if (a.accountRequestReviewedAt) {
253253
dateA = new Date(a.accountRequestReviewedAt);
254254
}
255255
let dateB = new Date(0); // default to epoch if no date is available
256256
if (b.accountRequestStatus === "PENDING" && b.preRegistrationRequestedAt) {
257-
dateB = new Date(b.preRegistrationRequestedAt)
257+
dateB = new Date(b.preRegistrationRequestedAt);
258258
} else if (b.accountRequestReviewedAt) {
259259
dateB = new Date(b.accountRequestReviewedAt);
260260
}

0 commit comments

Comments
 (0)