From 0602d1791e983d1c797c7ce86acd6af63facc390 Mon Sep 17 00:00:00 2001 From: Kurund Jalmi Date: Tue, 22 Aug 2023 20:41:21 +0100 Subject: [PATCH] style fixes --- ext/afform/core/ang/af/afForm.component.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/afform/core/ang/af/afForm.component.js b/ext/afform/core/ang/af/afForm.component.js index 1c210f8d84..40f6dee472 100644 --- a/ext/afform/core/ang/af/afForm.component.js +++ b/ext/afform/core/ang/af/afForm.component.js @@ -98,11 +98,11 @@ }; function displaySubmitButton(args) { - if (args['sid'] && args['sid'].length > 0) { + if (args.sid && args.sid.length > 0) { return false; } return true; - }; + } // Used when submitting file fields this.fileUploader = new FileUploader({ -- 2.25.1