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',
|
'type' => 'markdown_article',
|
||||||
'value' => '',
|
'value' => '',
|
||||||
'read_time' => 1,
|
'read_time' => 1,
|
||||||
|
'news' => true,
|
||||||
'language_code' => 'de',
|
'language_code' => 'de',
|
||||||
'approved' => auth()
|
'approved' => auth()
|
||||||
->user()
|
->user()
|
||||||
|
|||||||
@@ -143,7 +143,7 @@
|
|||||||
#{{ $loop->iteration }} Bild
|
#{{ $loop->iteration }} Bild
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
@if($bookCase->created_by === auth()->id())
|
@if(auth()->user()?->hasRole('super-admin') || app()->environment('local'))
|
||||||
<div x-data="{}">
|
<div x-data="{}">
|
||||||
<x-button
|
<x-button
|
||||||
x-on:click="$wireui.confirmDialog({
|
x-on:click="$wireui.confirmDialog({
|
||||||
|
|||||||
Reference in New Issue
Block a user