Andrew 2 месяцев назад
Родитель
Сommit
e957ced796
1 измененных файлов: 2 добавлений и 2 удалений
  1. 2
    2
      app/Filament/Resources/BannerResource.php

+ 2
- 2
app/Filament/Resources/BannerResource.php Просмотреть файл

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('標題'),