diff --git a/webapp/src/components/QRCode.vue b/webapp/src/components/QRCode.vue index 6c358f9f0..f9aae43ad 100644 --- a/webapp/src/components/QRCode.vue +++ b/webapp/src/components/QRCode.vue @@ -23,8 +23,8 @@ {{ refcode }} -
- QR_CODE_RESOLVER_URL is not set for this deployment.
+
+ QR_CODE_RESOLVER_URL is not set to the federation resolver URL for this deployment.
Links embedded within QR codes generated here will only work if this datalab instance remains at the same URL.

@@ -58,6 +58,9 @@ export default { }; }, computed: { + federatedQR() { + return FEDERATION_QR_CODE_RESOLVER_URL == QR_CODE_RESOLVER_URL; + }, QRCodeUrl() { // If the QR_CODE_RESOLVER_URL is not set, use the API_URL // with the redirect-to-ui option