ionos-cloud/docker-machine-driver

Can't close the Node Template view

Closed this issue · 2 comments

Description

When you open a Node Template you can't close the view

Expected behavior

When you click Cancel the view will be closed

Environment

Rancher:

2.6.9

Docker Machine Driver Ionos Cloud version:

6.1.0rc1

How to Reproduce

Open a Node Template or create a new one and try to close the View. You'll get the following JavaScript error:

component.js:60 Uncaught TypeError: this.cancel is not a function
    at e.cancel (component.js:60:1)
    at e.send (action_support.js:18:1)
    at e.n [as send] (index.js:442:1)
    at index.js:6769:1
    at o (index.js:144:1)
    at index.js:6768:1
    at q._run (backburner.js:1013:1)
    at q._join (backburner.js:989:1)
    at q.join (backburner.js:760:1)
    at d (index.js:168:1)

Hi! This issue has already been fixed in this PR, however it hasn't been released yet.

Hi, this is now fixed in version v0.1.1 of the UI driver.

you can now use "latest" https://cdn.jsdelivr.net/gh/ionos-cloud/ui-driver-ionoscloud@main/releases/latest/component.js - to always use the latest UI version

If you want to use v0.1.1 UI specifically: https://cdn.jsdelivr.net/gh/ionos-cloud/ui-driver-ionoscloud@main/releases/v0.1.1/component.js