Skip to content

Commit

Permalink
fix: ensure editor is readonly when appropriate
Browse files Browse the repository at this point in the history
Signed-off-by: Craig Bassett <[email protected]>
  • Loading branch information
cadriel committed Apr 5, 2021
1 parent 233ce67 commit 725f5b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/widgets/filesystem/FileEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default class FileEditor extends Vue {
// Base editor options.
opts = {
contextmenu: false,
readOnly: false,
readOnly: this.readonly,
automaticLayout: true,
fontSize: 16,
theme: 'dark-converted',
Expand Down

0 comments on commit 725f5b3

Please sign in to comment.