mirror of
https://github.com/OpenNebula/one.git
synced 2026-12-05 22:52:46 +09:00
M #~: Fix minor to console actions (#1878)
This commit is contained in:
1 parent
784a0cec1b
commit
4898c94b31
1 file changed
+2
-2
@@ -54,7 +54,7 @@ const GuacamoleButton = memo(({ vm, connectionType, onClick }) => {
|
||||
evt.stopPropagation()
|
||||
|
||||
const params = { id: vm?.ID, type: connectionType }
|
||||
const session = await getSession(params)
|
||||
const session = await getSession(params).unwrap()
|
||||
|
||||
typeof onClick === 'function'
|
||||
? onClick(session)
|
||||
@@ -85,7 +85,7 @@ const VMRCButton = memo(({ vm, onClick }) => {
|
||||
evt.stopPropagation()
|
||||
|
||||
const params = { id: vm?.ID }
|
||||
const session = await getSession(params)
|
||||
const session = await getSession(params).unwrap()
|
||||
|
||||
typeof onClick === 'function'
|
||||
? onClick(session)
|
||||
|
||||
Reference in new issue
Block a user