mirror of
				https://github.com/pelican-dev/panel.git
				synced 2025-11-04 16:16:51 +01:00 
			
		
		
		
	* update ApiKeyResource * update DatabaseHostResource * update MountResource * update RoleResource * update UserResource * WebhookResource * fix phpstan * add back label translations for resources * add back other labels * upstream changes
		
			
				
	
	
		
			26 lines
		
	
	
		
			553 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			553 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
 | 
						|
namespace App\Filament\Admin\Resources\MountResource\Pages;
 | 
						|
 | 
						|
use App\Filament\Admin\Resources\MountResource;
 | 
						|
use Filament\Actions\DeleteAction;
 | 
						|
use Filament\Resources\Pages\EditRecord;
 | 
						|
 | 
						|
class EditMount extends EditRecord
 | 
						|
{
 | 
						|
    protected static string $resource = MountResource::class;
 | 
						|
 | 
						|
    protected function getHeaderActions(): array
 | 
						|
    {
 | 
						|
        return [
 | 
						|
            DeleteAction::make(),
 | 
						|
            $this->getSaveFormAction()->formId('form'),
 | 
						|
        ];
 | 
						|
    }
 | 
						|
 | 
						|
    protected function getFormActions(): array
 | 
						|
    {
 | 
						|
        return [];
 | 
						|
    }
 | 
						|
}
 |