From c4fb80063f711bec6c0a62554264e3051a5a249a Mon Sep 17 00:00:00 2001 From: Sean Molenaar Date: Sat, 30 Dec 2023 15:54:32 +0200 Subject: [PATCH] Apply suggestions from code review Signed-off-by: Sean Molenaar --- src/components/AdminSettings.vue | 2 +- src/components/ContentTemplate.vue | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/AdminSettings.vue b/src/components/AdminSettings.vue index efa754e9a3..f8922b57dd 100644 --- a/src/components/AdminSettings.vue +++ b/src/components/AdminSettings.vue @@ -121,7 +121,7 @@ import { confirmPassword } from '@nextcloud/password-confirmation' * Debounce helper for method * TODO: Should we remove this and use library? * - * @param {function} func - The callback function + * @param {Function} func - The callback function * @param {number} wait - Time to wait in miliseconds */ function debounce(func, wait) { diff --git a/src/components/ContentTemplate.vue b/src/components/ContentTemplate.vue index c81ec0644e..57a1ce618d 100644 --- a/src/components/ContentTemplate.vue +++ b/src/components/ContentTemplate.vue @@ -82,8 +82,7 @@ watch(selectedFeedItem, (newSelectedFeedItem) => { /** * Unselect a list item. - * - * @return void + * */ function unselectItem() { itemStore.mutations.SET_SELECTED_ITEM(