fix minor bugs

This commit is contained in:
F4ilji
2025-05-12 11:53:17 +05:00
parent c01016a154
commit f2cb2bdb3f
10 changed files with 27 additions and 6 deletions
@@ -2,6 +2,7 @@
namespace App\Filament\Resources\DepartmentResource\RelationManagers;
use App\Services\App\Cache\DepartmentCacheService;
use App\Ship\Enums\Education\EducationalProgramStatus;
use Filament\Forms;
use Filament\Forms\Form;
@@ -72,6 +73,9 @@ class ProgramsRelationManager extends RelationManager
->searchable()
->columnSpanFull()
)
->before(function () {
app(DepartmentCacheService::class)->clearAllCacheByModel();
})
])
->actions([