mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-07-13 13:57:18 +00:00
Fix comment placement
This commit is contained in:
parent
5528010cc5
commit
ff26ad2c41
1 changed files with 3 additions and 2 deletions
|
@ -60,9 +60,10 @@ export const CasesUserCmd = modActionsCmd({
|
|||
if (args.onyUnbans) typesToShow.push(CaseTypes.Unban);
|
||||
|
||||
if (typesToShow.length > 0) {
|
||||
if (args.reverseFilters) cases = cases.filter(c => !typesToShow.includes(c.type));
|
||||
// Reversed: Hide specified types
|
||||
else cases = cases.filter(c => typesToShow.includes(c.type)); // Normal: Show only specified types
|
||||
if (args.reverseFilters) cases = cases.filter(c => !typesToShow.includes(c.type));
|
||||
// Normal: Show only specified types
|
||||
else cases = cases.filter(c => typesToShow.includes(c.type));
|
||||
}
|
||||
|
||||
const normalCases = cases.filter(c => !c.is_hidden);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue