mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-25 09:00:27 +00:00
update
This commit is contained in:
parent
094812064b
commit
06ede145c2
2 changed files with 22 additions and 0 deletions
|
@ -55,6 +55,7 @@ class MinecraftServerResource extends Resource
|
|||
//
|
||||
])
|
||||
->actions([
|
||||
Tables\Actions\ViewAction::make(),
|
||||
Tables\Actions\EditAction::make(),
|
||||
])
|
||||
->bulkActions([
|
||||
|
@ -77,6 +78,7 @@ class MinecraftServerResource extends Resource
|
|||
'index' => Pages\ListMinecraftServers::route('/'),
|
||||
'create' => Pages\CreateMinecraftServer::route('/create'),
|
||||
'edit' => Pages\EditMinecraftServer::route('/{record}/edit'),
|
||||
'view' => Pages\ViewMinecraftServer::route('/{record}'),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
<?php
|
||||
|
||||
namespace Modules\Minecraft\App\Filament\Resources\MinecraftServerResource\Pages;
|
||||
|
||||
use Filament\Resources\Pages\ViewRecord;
|
||||
use Modules\Minecraft\App\Filament\Resources\MinecraftServerResource;
|
||||
use Filament\Actions;
|
||||
use Filament\Resources\Pages\EditRecord;
|
||||
|
||||
class ViewMinecraftServer extends ViewRecord
|
||||
{
|
||||
protected static string $resource = MinecraftServerResource::class;
|
||||
|
||||
protected function getHeaderActions(): array
|
||||
{
|
||||
return [
|
||||
|
||||
];
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue