diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2021-12-02 20:32:57 +0300 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2022-01-08 12:14:05 +0300 |
commit | 74b980310852a0b406fa9d073870f92c409d5444 (patch) | |
tree | 055cbdf57886077bf3a6ea476813deedb54064e0 /apps/systemtags | |
parent | 85bc8513557f5ff37fc283d53893d4cb77ec7c3b (diff) |
Eslint fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/systemtags')
-rw-r--r-- | apps/systemtags/src/systemtagsfilelist.js | 8 | ||||
-rw-r--r-- | apps/systemtags/src/systemtagsinfoview.js | 6 |
2 files changed, 9 insertions, 5 deletions
diff --git a/apps/systemtags/src/systemtagsfilelist.js b/apps/systemtags/src/systemtagsfilelist.js index e21388b8ddf..4821f140222 100644 --- a/apps/systemtags/src/systemtagsfilelist.js +++ b/apps/systemtags/src/systemtagsfilelist.js @@ -30,7 +30,7 @@ * @classdesc SystemTags file list. * Contains a list of files filtered by system tags. * - * @param {Object} $el container element with existing markup for the #controls and a table + * @param {object} $el container element with existing markup for the #controls and a table * @param {Array} [options] map of options, see other parameters * @param {Array.<string>} [options.systemTagIds] array of system tag ids to * filter by @@ -60,8 +60,8 @@ /** * @private - * @param {Object} $el container element - * @param {Object} [options] map of options, see other parameters + * @param {object} $el container element + * @param {object} [options] map of options, see other parameters */ initialize($el, options) { OCA.Files.FileList.prototype.initialize.apply(this, arguments) @@ -190,7 +190,7 @@ /** * Autocomplete function for dropdown results * - * @param {Object} query select2 query object + * @param {object} query select2 query object */ _queryTagsAutocomplete(query) { OC.SystemTags.collection.fetch({ diff --git a/apps/systemtags/src/systemtagsinfoview.js b/apps/systemtags/src/systemtagsinfoview.js index 7753b4d5340..b2a11fbc959 100644 --- a/apps/systemtags/src/systemtagsinfoview.js +++ b/apps/systemtags/src/systemtagsinfoview.js @@ -26,6 +26,9 @@ (function(OCA) { + /** + * @param model + */ function modelToSelection(model) { const data = model.toJSON() if (!OC.isUserAdmin() && !data.canAssign) { @@ -82,7 +85,8 @@ /** * Event handler whenever a tag was selected - * @param {Object} tag the tag to create + * + * @param {object} tag the tag to create */ _onSelectTag(tag) { // create a mapping entry for this tag |