Profile: store covers in object storage (WebP); add covers config; remember artworks categories content-type preference
This commit is contained in:
@@ -32,7 +32,7 @@ class DashboardGalleryController extends Controller
|
||||
$artworks->getCollection()->map(fn (Artwork $artwork) => $this->presentArtwork($artwork))
|
||||
);
|
||||
|
||||
$mainCategories = ContentType::orderBy('id')
|
||||
$mainCategories = ContentType::ordered()
|
||||
->get(['name', 'slug'])
|
||||
->map(function (ContentType $type) {
|
||||
return (object) [
|
||||
|
||||
Reference in New Issue
Block a user