| @@ -265,8 +265,12 @@ | ||
| 265 | 265 | 'title' => $label->title, |
| 266 | 266 | 'slug' => $label->slug, |
| 267 | 267 | 'color' => $label->color, |
| 268 | 268 | 'bg_color' => $label->bg_color, |
| 269 | + 'color_preset' => \FluentBoards\Framework\Support\Arr::get( | |
| 270 | + (array) $label->settings, | |
| 271 | + \FluentBoards\App\Services\Constant::LABEL_COLOR_PRESET_SETTING | |
| 272 | + ), | |
| 269 | 273 | 'position' => isset($label->position) ? (float) $label->position : null, |
| 270 | 274 | 'archived_at' => self::toIso8601($label->archived_at), |
| 271 | 275 | ]; |
| 272 | 276 | } |