From 00459dc98e5c0803f3fc3c71ce8e7dbe0ff1dbd4 Mon Sep 17 00:00:00 2001 From: tuxarmy Date: Sun, 5 Apr 2026 23:33:40 +0700 Subject: [PATCH] chore: tambah divisi Teknologi Informasi ke DivisionSeeder --- app/Filament/Resources/Posts/PostResource.php | 2 +- database/seeders/DivisionSeeder.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Filament/Resources/Posts/PostResource.php b/app/Filament/Resources/Posts/PostResource.php index c5bcc67..644027d 100644 --- a/app/Filament/Resources/Posts/PostResource.php +++ b/app/Filament/Resources/Posts/PostResource.php @@ -18,7 +18,7 @@ class PostResource extends Resource protected static ?string $model = Post::class; protected static string|\BackedEnum|null $navigationIcon = 'heroicon-o-newspaper'; protected static string|\UnitEnum|null $navigationGroup = 'Blog'; - protected static ?string $navigationLabel = 'Post'; + protected static ?string $navigationLabel = 'Artikel'; // Label dinamis sesuai role public static function getModelLabel(): string diff --git a/database/seeders/DivisionSeeder.php b/database/seeders/DivisionSeeder.php index 84c02b6..5f85f95 100644 --- a/database/seeders/DivisionSeeder.php +++ b/database/seeders/DivisionSeeder.php @@ -15,6 +15,7 @@ class DivisionSeeder extends Seeder ['name' => 'Olahraga', 'description' => 'Bidang olahraga dan kesehatan'], ['name' => 'Seni & Budaya', 'description' => 'Bidang seni dan pelestarian budaya'], ['name' => 'Lingkungan', 'description' => 'Bidang lingkungan hidup'], + ['name' => 'Teknologi Informasi', 'description' => 'Bidang teknologi dan informasi digital'], ]; foreach ($divisions as $division) {