hide vorlagen in text edit (zu kompliziert für user)
This commit is contained in:
1 parent
febe2132cc
commit
df73411d06
2 files changed
+66
-66
No files matched your search
@@ -11,7 +11,7 @@ class ShowHelpInhalt
|
||||
{
|
||||
return Action::make('help')
|
||||
->icon('phosphor-question')
|
||||
->hidden(fn ($record): bool => (! $record->inhaltsverzeichnis->hilfe_titel && ! $record->inhaltsverzeichnis->hilfe_description || ! $record->inhaltsverzeichnis->hilfe_image) ? true : false)
|
||||
->hidden(fn ($record): bool => (! $record?->inhaltsverzeichnis->hilfe_titel && ! $record?->inhaltsverzeichnis->hilfe_description || ! $record?->inhaltsverzeichnis->hilfe_image) ? true : false)
|
||||
->tooltip(fn ($record): View => view('pages.helpinhalt')->with('record', $record))
|
||||
->iconButton();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user