mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-12 16:15:17 +00:00
fix(preview): sync isPreviewSuffixEnabled property on file storage save
This commit is contained in:
1 parent
add16853a8
commit
c9861e08e3
1 file changed
+1
@@ -181,6 +181,7 @@ class FileStorage extends Component
|
||||
// Sync component properties to model
|
||||
$this->fileStorage->content = $this->content;
|
||||
$this->fileStorage->is_based_on_git = $this->isBasedOnGit;
|
||||
$this->fileStorage->is_preview_suffix_enabled = $this->isPreviewSuffixEnabled;
|
||||
$this->fileStorage->save();
|
||||
$this->fileStorage->saveStorageOnServer();
|
||||
$this->dispatch('success', 'File updated.');
|
||||
|
||||
Reference in new issue
Block a user