Skip to content

Commit

Permalink
navigation poisition updated
Browse files Browse the repository at this point in the history
  • Loading branch information
AravindRam-Ranium committed Jun 18, 2024
1 parent 9bb763f commit d500053
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Resources/EmailTemplateResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
use Filament\Tables\Columns\TextColumn;
use Filament\Tables\Table;
use FilamentTiptapEditor\TiptapEditor;
use Filament\Pages\SubNavigationPosition;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\SoftDeletingScope;
use Illuminate\Support\Str;
Expand Down Expand Up @@ -59,6 +60,11 @@ public static function getCluster(): string
return config('filament-email-templates.navigation.templates.cluster');
}

public static function getSubNavigationPosition(): SubNavigationPosition
{
return config('filament-email-templates.navigation.templates.position');
}

public static function form(Form $form): Form
{

Expand Down
6 changes: 6 additions & 0 deletions src/Resources/EmailTemplateThemeResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Filament\Forms;
use Filament\Forms\Form;
use Filament\Pages\SubNavigationPosition;
use Filament\Resources\Resource;
use Filament\Tables;
use Filament\Tables\Table;
Expand Down Expand Up @@ -44,6 +45,11 @@ public static function getCluster(): string
return config('filament-email-templates.navigation.themes.cluster');
}

public static function getSubNavigationPosition(): SubNavigationPosition
{
return config('filament-email-templates.navigation.templates.position');
}

public static function getPreviewData()
{
$emailTemplate = EmailTemplate::first();
Expand Down

0 comments on commit d500053

Please sign in to comment.