This commit is contained in:
tree 2023-03-30 12:28:34 +02:00
rodič a0c22419e8
revize a0f799ba8c
1 změnil soubory, kde provedl 1 přidání a 1 odebrání

Zobrazit soubor

@ -28,7 +28,7 @@
function processItems(_items, query = {}) {
if (!_items) return [];
_items = JSON.parse(JSON.stringify(_items));
_items = [..._items]
if (type === 'events') {
_items = _items.sort((x, y) => (x.date > y.date ? 1 : -1));
}