Skip to content

Commit

Permalink
Merge pull request #393 from awcodes/fix/get-files-timing
Browse files Browse the repository at this point in the history
Fix: get files timing to respect settings
  • Loading branch information
awcodes authored Dec 22, 2023
2 parents 25ccd02 + d121200 commit 4968c1b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Components/Modals/CuratorPanel.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ public function mount(): void
public function openModal(string $id, array $settings = []): void
{
if ($id === 'curator-panel') {
$this->files = $this->getFiles();
$this->acceptedFileTypes = $settings['acceptedFileTypes'];
$this->directory = $settings['directory'];
$this->diskName = $settings['diskName'];
Expand All @@ -128,6 +127,8 @@ public function openModal(string $id, array $settings = []): void
$this->types = $settings['types'];
$this->visibility = $settings['visibility'];

$this->files = $this->getFiles();

$this->form->fill();
}
}
Expand Down

0 comments on commit 4968c1b

Please sign in to comment.