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
Copy file name to clipboardexpand all lines: app/views/directives/edit-environment-variables.html
+2-2
Original file line number
Diff line number
Diff line change
@@ -30,8 +30,8 @@ <h4>Variables</h4>
30
30
key-validator="[A-Za-z_][A-Za-z0-9_]*"
31
31
key-validator-error="Please enter a valid key."
32
32
key-validator-error-tooltip="A valid environment variable name is an alphanumeric (a-z and 0-9) string beginning with a letter that may contain underscores."
33
-
add-row-link="Add Environment Variable"
34
-
add-row-with-selectors-link="Add Environment Variable Using a Config Map or Secret"
33
+
add-row-link="Add Variable"
34
+
add-row-with-selectors-link="Add Variable from Config Map or Secret"
a.cannotAdd = a.isReadonlyAny || _.isEmpty(t), t && _.each(t, function(e) {
9153
+
var t = l(e);
9147
9154
t && _.set(t, "selectedEnvFrom", e);
9148
9155
});
9149
9156
};
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);
9157
+
a.$onInit = function() {
9158
+
c(a.entries), u(a.entries, a.envFromSelectorOptions), "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 && s(a.envFromEntries);
0 commit comments