From ebc214e64b2184a6b8da7daa02271c425bdbdb2f Mon Sep 17 00:00:00 2001 From: odeimaiz Date: Fri, 3 Jan 2025 10:37:45 +0100 Subject: [PATCH] use helper --- .../client/source/class/osparc/auth/LoginPage.js | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/services/static-webserver/client/source/class/osparc/auth/LoginPage.js b/services/static-webserver/client/source/class/osparc/auth/LoginPage.js index a972fce24d6..82aec70c3c5 100644 --- a/services/static-webserver/client/source/class/osparc/auth/LoginPage.js +++ b/services/static-webserver/client/source/class/osparc/auth/LoginPage.js @@ -353,17 +353,13 @@ qx.Class.define("osparc.auth.LoginPage", { }); versionLinkLayout.add(createReleaseNotesLink); - const organizationLink = new osparc.ui.basic.LinkLabel().set({ - textColor: "text-darker" - }); - const vendor = osparc.store.VendorInfo.getInstance().getVendor(); - if (vendor && "url" in vendor && "copyright" in vendor) { - organizationLink.set({ - value: vendor.copyright, - url: vendor.url + const copyrightLink = osparc.product.Utils.getCopyrightLink(); + if (copyrightLink) { + copyrightLink.set({ + textColor: "text-darker" }); + versionLinkLayout.add(copyrightLink); } - versionLinkLayout.add(organizationLink); versionLinkLayout.add(new qx.ui.core.Spacer(), { flex: 1