mirror of
https://github.com/wavetermdev/backup.git
synced 2026-08-05 13:57:07 -07:00
do not switch to readonly after saving (#223)
This commit is contained in:
@@ -245,7 +245,6 @@ export class PreviewModel implements ViewModel {
|
||||
const newFileContent = globalStore.get(this.newFileContent);
|
||||
try {
|
||||
services.FileService.SaveFile(fileName, util.stringToBase64(newFileContent));
|
||||
this.toggleCodeEditorReadOnly(true);
|
||||
} catch (error) {
|
||||
console.error("Error saving file:", error);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user