mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-04 07:22:34 +00:00
cleanup migration to filament
This commit is contained in:
@ -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,
|
||||
|
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user