Skip to content

Commit 5670ce2

Browse files
committed
fix zk function (#966)
Signed-off-by: Samiul <samiul@appscode.com>
1 parent 449e483 commit 5670ce2

File tree

1 file changed

+1
-2
lines changed
  • charts/opskubedbcom-zookeeperopsrequest-editor/ui

1 file changed

+1
-2
lines changed

charts/opskubedbcom-zookeeperopsrequest-editor/ui/functions.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1316,7 +1316,6 @@ export const useFunc = (model) => {
13161316
// watchDependency'discriminator#/dbDetails')
13171317

13181318
const retValue = getValue(discriminator, `/dbDetails${path}`)
1319-
console.log(retValue)
13201319

13211320
if (commitPath && retValue) {
13221321
const tlsOperation = getValue(discriminator, '/tlsOperation')
@@ -1453,7 +1452,7 @@ export const useFunc = (model) => {
14531452
console.log(e)
14541453
parsedInstance = instance || {}
14551454
}
1456-
const machine = parsedInstance[type] || 'custom'
1455+
const machine = parsedInstance || 'custom'
14571456

14581457
const machinePresets = machinesFromPreset.find((item) => item.id === machine)
14591458
if (machinePresets) {

0 commit comments

Comments
 (0)