5.40.0.42

  • [Fix] Saving departments from the agent configuration does not work (#16187)
  • [Fix] Outgoing email attachments marked as insecure files (#16186)
  • [Fix] Menu panel is missing when used language's text direction is right to left (#16179)
  • [Fix] Error when creating an email template for a newly created department (#15561)
  • [Other] Refactorings and other fixes (#16159)(#16158)