mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Make editor editable when user-supplied values is selected
Signed-off-by: Korvin Szanto <me@kor.vin>
This commit is contained in:
parent
42d3d277d8
commit
c01d9c44be
@ -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