mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-nostr.git
synced 2025-12-14 06:36:46 +00:00
feat: add permission checks for election views
- Add permission checks to the election index and election year views. - Show election views only to users with a certain association status. - Update nostrApp.js to entangle the 'isAllowed' state.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
export default (livewireComponent) => ({
|
||||
|
||||
isAllowed: livewireComponent.entangle('isAllowed', true),
|
||||
signThisEvent: livewireComponent.entangle('signThisEvent'),
|
||||
|
||||
init() {
|
||||
|
||||
Reference in New Issue
Block a user