mirror of
https://github.com/tiennm99/coolify.git
synced 2026-08-14 12:25:51 +00:00
fix(preview): sync isPreviewSuffixEnabled property on file storage save
This commit is contained in:
@@ -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