Cluster sub-navigation not showing
Hi everyone! I added a new cluster with some resources inside, but I'm not seeing the side navigation appear. I'm pretty sure I must be missing something. Does anyone know what I might be doing wrong?
This is the Cluster:
This is a Resource within the Cluster:
Appreciate your help!
This is the Cluster:
<?php
namespace App\Filament\Clusters;
use Filament\Clusters\Cluster;
class MiniTournaments extends Cluster
{
protected static ?string $navigationIcon = 'heroicon-o-squares-2x2';
protected static ?string $clusterBreadcrumb = 'Mini Torneos';
protected static ?string $navigationLabel = 'Mini Torneos';
protected static ?int $navigationSort = 0;
protected static ?string $slug = 'mini-tournaments';
}<?php
namespace App\Filament\Clusters;
use Filament\Clusters\Cluster;
class MiniTournaments extends Cluster
{
protected static ?string $navigationIcon = 'heroicon-o-squares-2x2';
protected static ?string $clusterBreadcrumb = 'Mini Torneos';
protected static ?string $navigationLabel = 'Mini Torneos';
protected static ?int $navigationSort = 0;
protected static ?string $slug = 'mini-tournaments';
}This is a Resource within the Cluster:
namespace App\Filament\Clusters\MiniTournaments\Resources;
use App\Filament\Clusters\MiniTournaments;
use App\Filament\Clusters\MiniTournaments\Resources\MiniTournamentPlayersResource\Pages;
use App\Models\MiniTournamentPlayer;
use Filament\Forms\Components\Select;
use Filament\Forms\Components\TextInput;
use Filament\Forms\Form;
use Filament\Resources\Resource;
use Filament\Tables;
use Filament\Tables\Columns\TextColumn;
use Filament\Tables\Table;
class MiniTournamentPlayersResource extends Resource
{
protected static ?string $model = MiniTournamentPlayer::class;
protected static ?string $navigationIcon = 'heroicon-o-user-group';
protected static ?string $cluster = MiniTournaments::class;
protected static ?string $navigationLabel = 'Jugadores';
protected static ?int $navigationSort = 2;
...namespace App\Filament\Clusters\MiniTournaments\Resources;
use App\Filament\Clusters\MiniTournaments;
use App\Filament\Clusters\MiniTournaments\Resources\MiniTournamentPlayersResource\Pages;
use App\Models\MiniTournamentPlayer;
use Filament\Forms\Components\Select;
use Filament\Forms\Components\TextInput;
use Filament\Forms\Form;
use Filament\Resources\Resource;
use Filament\Tables;
use Filament\Tables\Columns\TextColumn;
use Filament\Tables\Table;
class MiniTournamentPlayersResource extends Resource
{
protected static ?string $model = MiniTournamentPlayer::class;
protected static ?string $navigationIcon = 'heroicon-o-user-group';
protected static ?string $cluster = MiniTournaments::class;
protected static ?string $navigationLabel = 'Jugadores';
protected static ?int $navigationSort = 2;
...Appreciate your help!
