mirror of
https://github.com/lensapp/lens.git
synced 2024-11-10 10:36:25 +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}
|
onChange={text => this.values = text}
|
||||||
theme={ThemeStore.getInstance().activeTheme.monacoTheme}
|
theme={ThemeStore.getInstance().activeTheme.monacoTheme}
|
||||||
className={cssNames("MonacoEditor", {loading: valuesLoading})}
|
className={cssNames("MonacoEditor", {loading: valuesLoading})}
|
||||||
options={{readOnly: valuesLoading || this.showOnlyUserSuppliedValues, ...UserStore.getInstance().getEditorOptions()}}
|
options={{readOnly: valuesLoading, ...UserStore.getInstance().getEditorOptions()}}
|
||||||
>
|
>
|
||||||
{valuesLoading && <Spinner center />}
|
{valuesLoading && <Spinner center />}
|
||||||
</MonacoEditor>
|
</MonacoEditor>
|
||||||
|
Loading…
Reference in New Issue
Block a user