Skip to content

Commit f1d48fc

Browse files
committed
minor
1 parent 8719bab commit f1d48fc

File tree

1 file changed

+1
-1
lines changed
  • services/static-webserver/client/source/class/osparc/dashboard

1 file changed

+1
-1
lines changed

services/static-webserver/client/source/class/osparc/dashboard/StudyBrowser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1546,11 +1546,11 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
15461546
const menu = card.getMenu();
15471547
const studyData = card.getResourceData();
15481548

1549-
const trashed = Boolean(studyData["trashedAt"]);
15501549
const writeAccess = osparc.data.model.Study.canIWrite(studyData["accessRights"]);
15511550
const deleteAccess = osparc.data.model.Study.canIDelete(studyData["accessRights"]);
15521551

15531552
if (this.getCurrentContext() === "trash") {
1553+
const trashed = Boolean(studyData["trashedAt"]);
15541554
if (trashed) {
15551555
if (writeAccess) {
15561556
const untrashButton = this.__getUntrashStudyMenuButton(studyData);

0 commit comments

Comments
 (0)