Skip to content

Commit 806d878

Browse files
committed
buttons go on top
1 parent a9ce344 commit 806d878

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

services/static-webserver/client/source/class/osparc/info/ServiceLarge.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,7 @@ qx.Class.define("osparc.info.ServiceLarge", {
104104
!osparc.service.Utils.canIWrite(this.getService()["accessRights"]) &&
105105
description.getChildren().length > 1
106106
) {
107-
// Show description only
108-
vBox.add(description.getChildren()[1]);
109-
// And copy Id buttons too
107+
// Show also the copy Id buttons too
110108
const buttonsLayout = new qx.ui.container.Composite(new qx.ui.layout.HBox(10));
111109
if (this.getNodeId()) {
112110
const studyAlias = osparc.product.Utils.getStudyAlias({firstUpperCase: true});
@@ -129,6 +127,8 @@ qx.Class.define("osparc.info.ServiceLarge", {
129127
buttonsLayout.add(copyMetadataButton);
130128
vBox.add(buttonsLayout);
131129
}
130+
// Show description only
131+
vBox.add(description.getChildren()[1]);
132132
} else {
133133
const title = this.__createTitle();
134134
const titleLayout = this.__createViewWithEdit(title, this.__openTitleEditor);

0 commit comments

Comments
 (0)