From d9f9bea64822075a8173a7979bcff412817ccf43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hoang=20N=C3=A8?= Date: Tue, 30 Jul 2024 11:16:50 +0700 Subject: [PATCH] refactor(www): change docs description sort --- src/www/js/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/www/js/app.js b/src/www/js/app.js index 2c534737..b86d1fa7 100644 --- a/src/www/js/app.js +++ b/src/www/js/app.js @@ -28,7 +28,7 @@ function bytes(bytes, decimals, kib, maxunit) { * * @param {Array} array - The array of objects to be sorted. * @param {string} property - The property to sort the array by. - * @param {boolean} [sort=true] - Whether to sort the array in descending (default) or ascending order. + * @param {boolean} [sort=true] - Whether to sort the array in ascending (default) or descending order. * @return {Array} - The sorted array of objects. */ function sortByProperty(array, property, sort = true) { @@ -172,7 +172,7 @@ new Vue({ }, }, - sortClient: true // Sort clients by name, true = desc, false = asc + sortClient: true // Sort clients by name, true = asc, false = desc }, methods: { dateTime: (value) => {