From e5913b7267b170d2c7ba003f82e250309d9fbf93 Mon Sep 17 00:00:00 2001 From: odeimaiz Date: Fri, 17 Jan 2025 17:18:01 +0100 Subject: [PATCH] minor --- .../client/source/class/osparc/dashboard/CardBase.js | 1 + .../source/class/osparc/dashboard/FolderButtonItem.js | 6 +----- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/services/static-webserver/client/source/class/osparc/dashboard/CardBase.js b/services/static-webserver/client/source/class/osparc/dashboard/CardBase.js index b8d141a6c21..e18ad26b552 100644 --- a/services/static-webserver/client/source/class/osparc/dashboard/CardBase.js +++ b/services/static-webserver/client/source/class/osparc/dashboard/CardBase.js @@ -480,6 +480,7 @@ qx.Class.define("osparc.dashboard.CardBase", { accessRights: resourceData.accessRights ? resourceData.accessRights : {}, lastChangeDate: resourceData.lastChangeDate ? new Date(resourceData.lastChangeDate) : null, trashedAt: resourceData.trashedAt ? new Date(resourceData.trashedAt) : null, + trashedBy: resourceData.trashedBy || null, icon: resourceData.thumbnail || this.self().PRODUCT_ICON, state: resourceData.state ? resourceData.state : {}, classifiers: resourceData.classifiers && resourceData.classifiers ? resourceData.classifiers : [], diff --git a/services/static-webserver/client/source/class/osparc/dashboard/FolderButtonItem.js b/services/static-webserver/client/source/class/osparc/dashboard/FolderButtonItem.js index e464761203c..8631fa112c9 100644 --- a/services/static-webserver/client/source/class/osparc/dashboard/FolderButtonItem.js +++ b/services/static-webserver/client/source/class/osparc/dashboard/FolderButtonItem.js @@ -123,13 +123,9 @@ qx.Class.define("osparc.dashboard.FolderButtonItem", { }); this._add(control, osparc.dashboard.FolderButtonBase.POS.TITLE); break; - case "subtitle-layout": - control = new qx.ui.container.Composite(new qx.ui.layout.HBox(5)); - this._add(control, osparc.dashboard.FolderButtonBase.POS.SUBTITLE); - break; case "date-by": control = new osparc.ui.basic.DateAndBy(); - this.getChildControl("subtitle-layout").add(control); + this._add(control, osparc.dashboard.FolderButtonBase.POS.SUBTITLE); break; case "menu-button": { control = new qx.ui.form.MenuButton().set({