From 259b67eedffa3abb93bbcaae3e3ed79d19b4ec3e Mon Sep 17 00:00:00 2001 From: Jared Galanis Date: Tue, 26 Sep 2023 12:55:43 -0400 Subject: [PATCH] fix comment --- .tool-versions | 1 + app/components/find-journal/index.js | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 .tool-versions diff --git a/.tool-versions b/.tool-versions new file mode 100644 index 00000000..27552eba --- /dev/null +++ b/.tool-versions @@ -0,0 +1 @@ +nodejs 18.15.0 diff --git a/app/components/find-journal/index.js b/app/components/find-journal/index.js index e7b97464..8557eaf6 100644 --- a/app/components/find-journal/index.js +++ b/app/components/find-journal/index.js @@ -13,9 +13,10 @@ export default class FindJournal extends Component { autocomplete; /** - * lookupDOI - Set publication, publication journal, and doiInfo based on DOI. + * Search for journals by autocompleting based on the term prefix. * - * @param {boolean} setPublication DOI lookup should set the Publication object on the submission + * @param {string} term The search term + * @returns {array} array of Journals */ @dropTask searchJournals = function* (term) {