mirror of https://github.com/rancher/ui.git
Drop direct value edit on args selector k3s-import
rancher/rancher#25860
This commit is contained in:
parent
b154f56f37
commit
3b4ca885d9
|
|
@ -50,8 +50,8 @@ export default Component.extend(ClusterDriver, {
|
||||||
},
|
},
|
||||||
|
|
||||||
actions: {
|
actions: {
|
||||||
setActiveNodeForInfo(nodeId) {
|
setActiveNodeForInfo(selection) {
|
||||||
set(this, 'nodeForInfo', this.nodes.findBy('id', nodeId));
|
set(this, 'nodeForInfo', this.nodes.findBy('id', selection.id));
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,6 @@
|
||||||
optionValuePath="id"
|
optionValuePath="id"
|
||||||
optionLabelPath="displayName"
|
optionLabelPath="displayName"
|
||||||
content=nodesOptions
|
content=nodesOptions
|
||||||
value=nodeForInfo.id
|
|
||||||
action=(action "setActiveNodeForInfo")
|
action=(action "setActiveNodeForInfo")
|
||||||
prompt="k3sClusterInfo.nodeInfo.selectPrompt"
|
prompt="k3sClusterInfo.nodeInfo.selectPrompt"
|
||||||
localizedPrompt=true
|
localizedPrompt=true
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue