chore: tambah divisi Teknologi Informasi ke DivisionSeeder

This commit is contained in:
2026-04-05 23:33:40 +07:00
parent db7c19b249
commit 00459dc98e
2 changed files with 2 additions and 1 deletions
@@ -18,7 +18,7 @@ class PostResource extends Resource
protected static ?string $model = Post::class; protected static ?string $model = Post::class;
protected static string|\BackedEnum|null $navigationIcon = 'heroicon-o-newspaper'; protected static string|\BackedEnum|null $navigationIcon = 'heroicon-o-newspaper';
protected static string|\UnitEnum|null $navigationGroup = 'Blog'; protected static string|\UnitEnum|null $navigationGroup = 'Blog';
protected static ?string $navigationLabel = 'Post'; protected static ?string $navigationLabel = 'Artikel';
// Label dinamis sesuai role // Label dinamis sesuai role
public static function getModelLabel(): string public static function getModelLabel(): string
+1
View File
@@ -15,6 +15,7 @@ class DivisionSeeder extends Seeder
['name' => 'Olahraga', 'description' => 'Bidang olahraga dan kesehatan'], ['name' => 'Olahraga', 'description' => 'Bidang olahraga dan kesehatan'],
['name' => 'Seni & Budaya', 'description' => 'Bidang seni dan pelestarian budaya'], ['name' => 'Seni & Budaya', 'description' => 'Bidang seni dan pelestarian budaya'],
['name' => 'Lingkungan', 'description' => 'Bidang lingkungan hidup'], ['name' => 'Lingkungan', 'description' => 'Bidang lingkungan hidup'],
['name' => 'Teknologi Informasi', 'description' => 'Bidang teknologi dan informasi digital'],
]; ];
foreach ($divisions as $division) { foreach ($divisions as $division) {