Browse Source

menu change

parent
commit
adfd27e5dd

+ 2
- 2
app/Filament/Resources/BannerResource.php View File

@@ -26,12 +26,12 @@ use SolutionForest\FilamentTranslateField\Forms\Component\Translate;
26 26
 class BannerResource extends Resource
27 27
 {
28 28
     protected static ?string $model = Banner::class;
29
-    protected static ?string $modelLabel = "Banner";
30 29
     protected static ?int $navigationSort = 1;
31
-
32 30
     protected static ?string $navigationIcon = 'heroicon-o-photo';
31
+    protected static ?string $navigationGroup = '其他設定';
33 32
     // protected static ?string $navigationGroup = '上稿內容管理';
34 33
     protected static ?string $navigationLabel = "首頁 Banner 管理";
34
+    protected static ?string $modelLabel = "首頁 Banner 管理";
35 35
 
36 36
     // 預設排序
37 37
     protected static function booted()

+ 1
- 0
app/Filament/Resources/UploadFileResource.php View File

@@ -23,6 +23,7 @@ class UploadFileResource extends Resource
23 23
     protected static ?string $model = UploadFile::class;
24 24
 
25 25
     protected static ?string $navigationIcon = 'heroicon-o-rectangle-stack';
26
+    protected static ?string $navigationGroup = '其他設定';
26 27
     protected static ?string $navigationLabel = "附檔上傳管理";
27 28
     protected static ?string $modelLabel = "附檔上傳管理";
28 29