Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
odeimaiz committed Jan 17, 2025
1 parent d70c956 commit e5913b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 : [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit e5913b7

Please sign in to comment.