Skip to content

Commit ebc214e

Browse files
committed
use helper
1 parent 95d2be2 commit ebc214e

File tree

1 file changed

+5
-9
lines changed
  • services/static-webserver/client/source/class/osparc/auth

1 file changed

+5
-9
lines changed

services/static-webserver/client/source/class/osparc/auth/LoginPage.js

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -353,17 +353,13 @@ qx.Class.define("osparc.auth.LoginPage", {
353353
});
354354
versionLinkLayout.add(createReleaseNotesLink);
355355

356-
const organizationLink = new osparc.ui.basic.LinkLabel().set({
357-
textColor: "text-darker"
358-
});
359-
const vendor = osparc.store.VendorInfo.getInstance().getVendor();
360-
if (vendor && "url" in vendor && "copyright" in vendor) {
361-
organizationLink.set({
362-
value: vendor.copyright,
363-
url: vendor.url
356+
const copyrightLink = osparc.product.Utils.getCopyrightLink();
357+
if (copyrightLink) {
358+
copyrightLink.set({
359+
textColor: "text-darker"
364360
});
361+
versionLinkLayout.add(copyrightLink);
365362
}
366-
versionLinkLayout.add(organizationLink);
367363

368364
versionLinkLayout.add(new qx.ui.core.Spacer(), {
369365
flex: 1

0 commit comments

Comments
 (0)