This commit is contained in:
2026-03-17 16:55:53 +05:00
parent 7eefafa805
commit 0fe90e6b0e
3 changed files with 5 additions and 15 deletions

View File

@@ -13,9 +13,5 @@ class CollectionRepository
*/
public static function values(): array|Collection
{
return CacheRepository::make(
name: 'cs-nova-models-collections',
value: fn () => CollectionModel::where('is_visible', true)->pluck('name', 'id'),
);
}
return CollectionModel::where('is_visible', true)->pluck('name', 'id');
}