mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
hotfix
This commit is contained in:
@@ -43,6 +43,7 @@ class NewsArticleForm extends Component
|
||||
'type' => 'markdown_article',
|
||||
'value' => '',
|
||||
'read_time' => 1,
|
||||
'news' => true,
|
||||
'language_code' => 'de',
|
||||
'approved' => auth()
|
||||
->user()
|
||||
|
||||
@@ -143,7 +143,7 @@
|
||||
#{{ $loop->iteration }} Bild
|
||||
</button>
|
||||
|
||||
@if($bookCase->created_by === auth()->id())
|
||||
@if(auth()->user()?->hasRole('super-admin') || app()->environment('local'))
|
||||
<div x-data="{}">
|
||||
<x-button
|
||||
x-on:click="$wireui.confirmDialog({
|
||||
|
||||
Reference in New Issue
Block a user