mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 09:14:35 +02:00
add mtime to reference models
Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
@@ -283,6 +283,7 @@ class ExtraNetworksPage:
|
||||
htmls = []
|
||||
|
||||
if len(self.items) > 0 and self.items[0].get('mtime', None) is not None:
|
||||
shared.opts.extra_networks_sort = 'Date [Newest]'
|
||||
if shared.opts.extra_networks_sort == 'Default':
|
||||
pass
|
||||
elif shared.opts.extra_networks_sort == 'Name [A-Z]':
|
||||
|
||||
Reference in New Issue
Block a user