chore: tambah divisi Teknologi Informasi ke DivisionSeeder
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user