mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-nostr.git
synced 2025-12-13 05:26:47 +00:00
🎨 fix(association): update condition to check association status for meetup button visibility
This commit is contained in:
@@ -96,7 +96,7 @@ $delete = function ($id) {
|
||||
</form>
|
||||
|
||||
<!-- Add meetup button -->
|
||||
@if($currentPleb && $currentPleb->status > 2)
|
||||
@if($currentPleb && $currentPleb->association_status->value > 2)
|
||||
<x-button :href="route('association.projectSupport.create')" icon="plus"
|
||||
label="Projekt einreichen"/>
|
||||
@endif
|
||||
@@ -199,7 +199,7 @@ $delete = function ($id) {
|
||||
:href="route('association.projectSupport.edit', ['projectProposal' => $project])"
|
||||
label="Editieren"/>
|
||||
@endif
|
||||
@if($currentPleb && $currentPleb->status > 2)
|
||||
@if($currentPleb && $currentPleb->association_status->value > 2)
|
||||
<x-button
|
||||
icon="folder-open"
|
||||
xs
|
||||
|
||||
Reference in New Issue
Block a user