give fix methode
This commit is contained in:
1 parent
7e26b606af
commit
db1855ab25
1 file changed
+3
-2
@@ -157,6 +157,7 @@ class EditProjekte extends EditRecord
|
||||
->label('Projekt löschen')
|
||||
->modalDescription('Möchten Sie dieses Projekt wirklich löschen? Die Daten werden unwiderbringlich gelöscht, dieser Vorgang kann nicht rückgängig gemacht werden.')
|
||||
->requiresConfirmation(),
|
||||
|
||||
Action::make('fix_cloned_method_id')
|
||||
->label('Fix cloned Method Id')
|
||||
->tooltip('Visible only by me')
|
||||
@@ -174,8 +175,8 @@ class EditProjekte extends EditRecord
|
||||
}),
|
||||
Action::make('reparieren')
|
||||
->label('Daten reparieren ..')
|
||||
->tooltip('Visible only by me')
|
||||
->visible(fn () => Auth::user()->id == 1)
|
||||
// ->tooltip('Visible only by me')
|
||||
// ->visible(fn () => Auth::user()->id == 1)
|
||||
->modalIcon('phosphor-arrow-fat-line-right-fill')
|
||||
->modalDescription(self::reparierenText())
|
||||
// ->hidden(fn ($record): bool => ! $record->cloned_from_id)
|
||||
|
||||
Reference in new issue
Block a user