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:
@@ -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' })
|
||||
|
||||
Reference in New Issue
Block a user