You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
r.cannotAdd = r.isReadonlyAny || _.isEmpty(t), t ? _.each(t, function(e) {
9153
+
var t = d(e);
9147
9154
t && _.set(t, "selectedEnvFrom", e);
9155
+
}) : _.each(e, function(e) {
9156
+
var t = e.secretRef ? "Secret" : "ConfigMap", n = _.get(e.configMapRef, "name") || _.get(e.secretRef, "name");
9157
+
_.set(e, "apiObj", {
9158
+
kind: t,
9159
+
metadata: {
9160
+
name: n,
9161
+
namespace: s
9162
+
}
9163
+
});
9148
9164
});
9149
9165
};
9150
-
angular.extend(a, {
9151
-
dragControlListeners: {
9152
-
accept: function(e, t) {
9153
-
return e.itemScope.sortableScope.$id === t.$id;
9154
-
},
9155
-
orderChanged: function() {
9156
-
a.editEnvironmentFromForm.$setDirty();
9157
-
}
9158
-
}
9159
-
}), a.$onInit = function() {
9160
-
a.updateEnvFromEntries(a.entries), c(a.envFromEntries, a.envFromSelectorOptions), "cannotAdd" in e && (a.cannotAdd = !0), "cannotDelete" in e && (a.cannotDeleteAny = !0), "cannotSort" in e && (a.cannotSort = !0), "isReadonly" in e && (a.isReadonlyAny = !0), "showHeader" in e && (a.showHeader = !0), a.envFromEntries && !a.envFromEntries.length && i(a.envFromEntries);
u(r.entries), m(r.entries, r.envFromSelectorOptions), "cannotDelete" in e && (r.cannotDeleteAny = !0), "cannotSort" in e && (r.cannotSort = !0), "isReadonly" in e && (r.isReadonlyAny = !0), "showHeader" in e && (r.showHeader = !0), r.envFromEntries && !r.envFromEntries.length && l(r.envFromEntries);
0 commit comments