diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-10-16 14:06:49 +0200 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-10-16 22:11:59 +0200 |
commit | e8c1e2c611e6cc783e45abc036ee9d55d3a426d8 (patch) | |
tree | 6b4f1f6868a9734f9c589a058a9e716fecaef421 /apps/files/src/store/viewConfig.ts | |
parent | 5be832344eacb8328600d256c3090671c3f582d2 (diff) | |
download | nextcloud-server-e8c1e2c611e6cc783e45abc036ee9d55d3a426d8.tar.gz nextcloud-server-e8c1e2c611e6cc783e45abc036ee9d55d3a426d8.zip |
fix(code-style): Adjust JS code to our code style
This resolves 68 ESLint warnings about invalid code style.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'apps/files/src/store/viewConfig.ts')
-rw-r--r-- | apps/files/src/store/viewConfig.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files/src/store/viewConfig.ts b/apps/files/src/store/viewConfig.ts index 08d75b3d050..76786306d60 100644 --- a/apps/files/src/store/viewConfig.ts +++ b/apps/files/src/store/viewConfig.ts @@ -59,8 +59,8 @@ export const useViewConfigStore = function(...args) { * Set the sorting key AND sort by ASC * The key param must be a valid key of a File object * If not found, will be searched within the File attributes - * @param key - * @param view + * @param key Key to sort by + * @param view View to set the sorting key for */ setSortingBy(key = 'basename', view = 'files') { // Save new config @@ -70,7 +70,7 @@ export const useViewConfigStore = function(...args) { /** * Toggle the sorting direction - * @param view + * @param view view to set the sorting order for */ toggleSortingDirection(view = 'files') { const config = this.getConfig(view) || { sorting_direction: 'asc' } |