We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3924984 commit 6eb5633Copy full SHA for 6eb5633
webapp/src/components/QRCode.vue
@@ -23,8 +23,8 @@
23
{{ refcode }}
24
</div>
25
26
- <div class="alert alert-info">
27
- QR_CODE_RESOLVER_URL is not set for this deployment.<br />
+ <div v-if="!federatedQR" class="alert alert-info">
+ QR_CODE_RESOLVER_URL is not set to the federation resolver URL for this deployment.<br />
28
Links embedded within QR codes generated here will only work if this <i>datalab</i> instance
29
remains at the same URL.<br /><br />
30
@@ -58,6 +58,9 @@ export default {
58
};
59
},
60
computed: {
61
+ federatedQR() {
62
+ return FEDERATION_QR_CODE_RESOLVER_URL == QR_CODE_RESOLVER_URL;
63
+ },
64
QRCodeUrl() {
65
// If the QR_CODE_RESOLVER_URL is not set, use the API_URL
66
// with the redirect-to-ui option
0 commit comments