1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-07-27 21:18:30 +00:00
* Changed: Allow sorting by add-on created date in the [Add-Ons](~add_ons) list.
* Changed: Allow filtering by only enabled add-ons in the [Add-Ons](~add_ons) list.
* Changed: Display created dates in the [Add-Ons](~add_ons) list.
* Fixed: Properly parse dates from the add-ons manifest file.
This commit is contained in:
SirStendec 2021-03-13 16:35:59 -05:00
parent 7428781614
commit 5a5a68adb6
5 changed files with 43 additions and 6 deletions

View file

@ -173,6 +173,12 @@ export default class AddonManager extends Module {
addon.requires = addon.requires || [];
addon.required_by = Array.isArray(old) ? old : old && old.required_by || [];
if ( addon.updated )
addon.updated = new Date(addon.updated);
if ( addon.created )
addon.created = new Date(addon.created);
addon._search = addon.search_terms;
for(const id of addon.requires) {