mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Getting spread (...) back to fix Select render
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
661d6f080b
commit
76b99cdd87
@ -132,7 +132,7 @@ export class DeleteClusterDialog extends React.Component {
|
||||
const contexts = config.contexts.filter(context => context.name !== cluster.contextName);
|
||||
|
||||
const options = [
|
||||
contexts.map(context => ({
|
||||
...contexts.map(context => ({
|
||||
label: context.name,
|
||||
value: context.name,
|
||||
})),
|
||||
@ -145,7 +145,6 @@ export class DeleteClusterDialog extends React.Component {
|
||||
onChange={({ value }) => this.newCurrentContext = value}
|
||||
themeName="light"
|
||||
className="ml-[1px] mr-[1px]"
|
||||
noOptionsMessage={() => "There are no other contexts left"}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user