show login url only if alias was already set

This commit is contained in:
einhornimmond 2025-02-17 18:00:13 +01:00
parent 84b0d82f98
commit cde38eb639

View File

@ -62,7 +62,10 @@ const details = ref(false)
const emit = defineEmits(['update:item', 'deleted:item'])
const frontendLoginUrl = computed(() => {
return `${CONFIG.WALLET_LOGIN_URL}?project=${item.value.alias}`
if (item.value.alias && item.value.alias.length > 0) {
return `${CONFIG.WALLET_LOGIN_URL}?project=${item.value.alias}`
}
return undefined
})
async function copyToClipboard(text) {