Skip to content

Commit

Permalink
chore: remove readonly type
Browse files Browse the repository at this point in the history
  • Loading branch information
nivedin committed Apr 24, 2024
1 parent 05ad84f commit 7411e36
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/hoppscotch-common/src/components/smart/EnvInput.vue
Expand Up @@ -622,6 +622,15 @@ watch(
]),
],
})
} else {
view.value!.dispatch({
effects: [
readOnlyCompt.reconfigure([
EditorState.readOnly.of(readonly),
EditorView.theme({}),
]),
],
})
}
}
)
Expand Down

0 comments on commit 7411e36

Please sign in to comment.