Skip to content

Commit 77e6f4e

Browse files
committed
bugfix: markdownPicker & RichEdtor disk config
1 parent 5417179 commit 77e6f4e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Fields/Configs/MarkdownEditor.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,10 @@ public function applyConfig(Component $component): void
6363
$component->fileAttachmentsDisk($this->fileAttachmentsDisk);
6464
}
6565
if (filled($this->fileAttachmentsDirectory)) {
66-
$component->fileAttachmentsDirectory($this->fileAttachmentsDisk);
66+
$component->fileAttachmentsDirectory($this->fileAttachmentsDirectory);
6767
}
6868
if (filled($this->fileAttachmentsVisibility)) {
69-
$component->fileAttachmentsVisibility($this->fileAttachmentsDisk);
69+
$component->fileAttachmentsVisibility($this->fileAttachmentsVisibility);
7070
}
7171
}
7272
}

src/Fields/Configs/RichEditor.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ public function applyConfig(Component $component): void
6464
$component->fileAttachmentsDisk($this->fileAttachmentsDisk);
6565
}
6666
if (filled($this->fileAttachmentsDirectory)) {
67-
$component->fileAttachmentsDirectory($this->fileAttachmentsDisk);
67+
$component->fileAttachmentsDirectory($this->fileAttachmentsDirectory);
6868
}
6969
if (filled($this->fileAttachmentsVisibility)) {
70-
$component->fileAttachmentsVisibility($this->fileAttachmentsDisk);
70+
$component->fileAttachmentsVisibility($this->fileAttachmentsVisibility);
7171
}
7272
}
7373
}

0 commit comments

Comments
 (0)