mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-07-27 21:18:30 +00:00
4.20.78
* 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:
parent
7428781614
commit
5a5a68adb6
5 changed files with 43 additions and 6 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue