mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-23 19:37:23 +08:00
filament setting apge
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace App\Filament\Resources\System;
|
||||
|
||||
use App\Filament\NexusOptionsTrait;
|
||||
use App\Filament\OptionsTrait;
|
||||
use App\Filament\Resources\System\AgentAllowResource\Pages;
|
||||
use App\Filament\Resources\System\AgentAllowResource\RelationManagers;
|
||||
use App\Models\AgentAllow;
|
||||
@@ -16,7 +16,7 @@ use Illuminate\Database\Eloquent\SoftDeletingScope;
|
||||
|
||||
class AgentAllowResource extends Resource
|
||||
{
|
||||
use NexusOptionsTrait;
|
||||
use OptionsTrait;
|
||||
|
||||
protected static ?string $model = AgentAllow::class;
|
||||
|
||||
@@ -29,6 +29,16 @@ class AgentAllowResource extends Resource
|
||||
return __('admin.sidebar.agent_allows');
|
||||
}
|
||||
|
||||
public static function getBreadcrumb(): string
|
||||
{
|
||||
return self::getNavigationLabel();
|
||||
}
|
||||
|
||||
// public static function getModelLabel(): string
|
||||
// {
|
||||
//
|
||||
// }
|
||||
|
||||
|
||||
public static function form(Form $form): Form
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user