]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Fix regression on rbd form component 22829/head
authorTiago Melo <tmelo@suse.com>
Tue, 3 Jul 2018 13:38:35 +0000 (14:38 +0100)
committerTiago Melo <tmelo@suse.com>
Wed, 4 Jul 2018 17:25:32 +0000 (18:25 +0100)
commit0d152ea6984c32479023fed1f53e759e98073394
tree30b92f4c64aab1c7e19d67cf88d0ca904f126c77
parent3222aa9c5aaf159531dc04263c94f016accbbdb5
mgr/dashboard: Fix regression on rbd form component

'decodeURIComponent' method was decoding an undefined variable to the string
'undefined', which would later cause problems.

This regression was introduced in057d6025894800c1b4a422b081fe02ab82b044fe.

Fixes: http://tracker.ceph.com/issues/24757
Signed-off-by: Tiago Melo <tmelo@suse.com>
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-form/rbd-form.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-form/rbd-form.component.ts
src/pybind/mgr/dashboard/frontend/src/testing/activated-route-stub.ts [new file with mode: 0644]
src/pybind/mgr/dashboard/frontend/src/tsconfig.app.json
src/pybind/mgr/dashboard/frontend/src/tsconfig.spec.json