Andrew 5 months ago
parent
commit
e957ced796
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      app/Filament/Resources/BannerResource.php

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

101
             ->columns([
101
             ->columns([
102
                 IconColumn::make('type')->label('類別')
102
                 IconColumn::make('type')->label('類別')
103
                     ->icon(fn (string $state): string => match ($state) {
103
                     ->icon(fn (string $state): string => match ($state) {
104
-                        '1' => 'heroicon-o-image',
105
-                        '2' => 'heroicon-o-image',
104
+                        '1' => 'css-image',
105
+                        '2' => 'heroicon-o-film',
106
                     }),
106
                     }),
107
                 ImageColumn::make('img_url')->label('圖片'),
107
                 ImageColumn::make('img_url')->label('圖片'),
108
                 TextColumn::make('title')->label('標題'),
108
                 TextColumn::make('title')->label('標題'),