Skip to content

Commit 7a0a1e5

Browse files
committed
fix infinite recursion.
1 parent 6c9531e commit 7a0a1e5

File tree

1 file changed

+1
-1
lines changed
  • frontend/js/app/nginx/certificates

1 file changed

+1
-1
lines changed

frontend/js/app/nginx/certificates/form.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ module.exports = Mn.View.extend({
253253
},
254254
templateContext: {
255255
isNew: function () {
256-
return this.isNew();
256+
return this.id == null;
257257
},
258258
getLetsencryptEmail: function () {
259259
return typeof this.meta.letsencrypt_email !== 'undefined' ? this.meta.letsencrypt_email : App.Cache.User.get('email');

0 commit comments

Comments
 (0)