Browse Source

Merge "Fix metadata removal" into stable/newton

tags/10.0.0.0rc2
Jenkins 2 years ago
parent
commit
4a00536a91

+ 1
- 1
openstack_dashboard/static/app/core/metadata/modal/modal.controller.js View File

@@ -61,8 +61,8 @@
61 61
       angular.forEach(removed, function bug1606988(value, removedKey) {
62 62
         angular.forEach(ctrl.tree.flatTree, function compareToDefinitions(item) {
63 63
           if (item.leaf && removedKey.toLocaleLowerCase() === item.leaf.name.toLocaleLowerCase()) {
64
-            removed[item.leaf.name] = value;
65 64
             delete removed[removedKey];
65
+            removed[item.leaf.name] = value;
66 66
           }
67 67
         });
68 68
       });

Loading…
Cancel
Save