Skip to content

Commit

Permalink
add default sort to tiptap action
Browse files Browse the repository at this point in the history
  • Loading branch information
awcodes committed Jan 2, 2024
1 parent 1d914a5 commit 1dae156
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Actions/MediaAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ protected function setUp(): void

$livewire->dispatch('open-modal', id: 'curator-panel', settings: [
'acceptedFileTypes' => Config::get('curator.accepted_file_types'),
'defaultSort' => 'desc',
'directory' => Config::get('curator.directory'),
'diskName' => Config::get('curator.disk'),
'imageCropAspectRatio' => Config::get('curator.image_crop_aspect_ratio'),
Expand Down

0 comments on commit 1dae156

Please sign in to comment.