From d05c1bdd6e61ff035f5b6c6f7df3021942126291 Mon Sep 17 00:00:00 2001 From: Jake McDermott Date: Tue, 13 Aug 2019 08:28:02 -0400 Subject: [PATCH] move function comment into function --- .../src/screens/Template/shared/JobTemplateForm.jsx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/awx/ui_next/src/screens/Template/shared/JobTemplateForm.jsx b/awx/ui_next/src/screens/Template/shared/JobTemplateForm.jsx index fc2ff53556..7d921b254a 100644 --- a/awx/ui_next/src/screens/Template/shared/JobTemplateForm.jsx +++ b/awx/ui_next/src/screens/Template/shared/JobTemplateForm.jsx @@ -74,12 +74,11 @@ class JobTemplateForm extends Component { this.loadLabels(QSConfig); } - // The function below assumes that the user has no more than 400 - // labels. For the vast majority of users this will be more thans - // enough.This can be updated to allow more than 400 labels if we - // decide it is necessary. - async loadLabels(QueryConfig) { + // This function assumes that the user has no more than 400 + // labels. For the vast majority of users this will be more thans + // enough.This can be updated to allow more than 400 labels if we + // decide it is necessary. this.setState({ contentError: null, hasContentLoading: true }); let loadedLabels; try {