Skip to content

Commit

Permalink
Normalize categories after reordering
Browse files Browse the repository at this point in the history
Makes sure that the ordering is correct.
E.g. "default" category should always be at position 0
  • Loading branch information
schroda committed Jun 30, 2023
1 parent 56a3547 commit 4e02653
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ object Category {
it[CategoryTable.order] = index + 1
}
}
normalizeCategories()
}
}

Expand Down

0 comments on commit 4e02653

Please sign in to comment.