Fix link copy toast messages, remove custom toast in favor of authStore, remove a component that was no longer used.

This commit is contained in:
2025-12-10 17:18:48 +00:00
parent 460094e4dd
commit 3f0de04a49
5 changed files with 6 additions and 108 deletions
+5
View File
@@ -108,6 +108,7 @@
v-if="showRegLink"
endpoint="/auth/api/user/create-link"
@close="showRegLink = false"
@copied="onLinkCopied"
/>
</section>
</template>
@@ -184,6 +185,10 @@ const handlePairingError = (message) => {
}
}
const onLinkCopied = () => {
authStore.showMessage('📋 Link copied! Send it to your other device.')
}
// Helper to focus preferred button in a row (primary first, or first button)
const focusPreferredButton = (container) => {
focusPreferred(container, { primarySelector: '.btn-primary', itemSelector: 'button' })