mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-app.git
synced 2025-12-14 12:06:46 +00:00
✨ Add course event creation, editing, and listing with dynamic validations
This commit is contained in:
@@ -113,7 +113,8 @@ new class extends Component {
|
||||
{{ __('Bearbeiten') }}
|
||||
</flux:button>
|
||||
<flux:button
|
||||
:href="route_with_country('courses.events.create', ['course' => $course])"
|
||||
:disabled="$course->created_by !== auth()->id()"
|
||||
:href="$course->created_by === auth()->id() ? route_with_country('courses.events.create', ['course' => $course]) : null"
|
||||
size="xs"
|
||||
variant="filled"
|
||||
icon="calendar">
|
||||
|
||||
Reference in New Issue
Block a user