cleanup migration to filament

This commit is contained in:
Saeed Vaziry
2024-10-06 21:46:03 +02:00
parent 06d690138d
commit a94d1d42d2
420 changed files with 39 additions and 15481 deletions

View File

@ -18,7 +18,7 @@ class FilterForm extends Widget implements HasForms
{
use InteractsWithForms;
protected static string $view = 'web.components.form';
protected static string $view = 'components.form';
public ?array $data = [
'period' => '1h',
@ -73,7 +73,7 @@ public function form(Form $form): Form
]),
ViewField::make('data')
->reactive()
->view('web.components.dynamic-widget', [
->view('components.dynamic-widget', [
'widget' => Metrics::class,
'params' => [
'server' => $this->server,

View File

@ -24,7 +24,7 @@ class MetricDetails extends Widget implements HasForms, HasInfolists
protected static bool $isLazy = false;
protected static string $view = 'web.components.infolist';
protected static string $view = 'components.infolist';
public Server $server;