Files
newznab-tmux/resources/js/alpine/components/admin-user-passkeys.js
T
2026-04-24 12:03:49 +02:00

15 lines
285 B
JavaScript

import Alpine from '@alpinejs/csp';
Alpine.data('adminUserPasskeys', () => ({
showDangerZone: false,
wipeConfirm: '',
toggleDangerZone() {
this.showDangerZone = !this.showDangerZone;
},
canWipe() {
return this.wipeConfirm === 'WIPE';
},
}));