sort modactions alphabetically
parent
eb2659aac8
commit
6bef780e6c
|
@ -403,6 +403,8 @@ MODACTION_TYPES = {
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
MODACTION_TYPES = dict(sorted(MODACTION_TYPES.items()))
|
||||||
|
|
||||||
MODACTION_PRIVILEGED_TYPES = {'shadowban', 'unshadowban',
|
MODACTION_PRIVILEGED_TYPES = {'shadowban', 'unshadowban',
|
||||||
'mod_mute_user', 'mod_unmute_user',
|
'mod_mute_user', 'mod_unmute_user',
|
||||||
'link_accounts', 'delink_accounts',
|
'link_accounts', 'delink_accounts',
|
||||||
|
|
|
@ -115,3 +115,5 @@ SUBACTION_TYPES = {
|
||||||
"color": 'bg-success'
|
"color": 'bg-success'
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SUBACTION_TYPES = dict(sorted(SUBACTION_TYPES.items()))
|
||||||
|
|
Loading…
Reference in New Issue