fix(preview): sync isPreviewSuffixEnabled property on file storage save
This commit is contained in:
parent
add16853a8
commit
c9861e08e3
1 changed files with 1 additions and 0 deletions
|
|
@ -181,6 +181,7 @@ public function submit()
|
|||
// 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.');
|
||||
|
|
|
|||
Loading…
Reference in a new issue