mirror of
https://github.com/lensapp/lens.git
synced 2024-09-20 05:47:24 +03:00
Make editor editable when user-supplied values is selected (#3776)
This commit is contained in:
parent
31ee323baa
commit
0c2140de8f
@ -165,7 +165,7 @@ export class ReleaseDetails extends Component<Props> {
|
||||
onChange={text => this.values = text}
|
||||
theme={ThemeStore.getInstance().activeTheme.monacoTheme}
|
||||
className={cssNames("MonacoEditor", {loading: valuesLoading})}
|
||||
options={{readOnly: valuesLoading || this.showOnlyUserSuppliedValues, ...UserStore.getInstance().getEditorOptions()}}
|
||||
options={{readOnly: valuesLoading, ...UserStore.getInstance().getEditorOptions()}}
|
||||
>
|
||||
{valuesLoading && <Spinner center />}
|
||||
</MonacoEditor>
|
||||
|
Loading…
Reference in New Issue
Block a user