For clean dishes, without unpleasant odors, the solution is proper maintenance and regular cleaning of the dishwasher.
In addition to the inside of the washing machine that needs disinfection, you should not forget the filter.
The best way is to use distilled white vinegar and baking soda at least once a month or dishwashing detergent.
Cleaning the filter only takes a few minutes, so it is best not to skip it so that the washing machine does not smell and washes efficiently.
How to clean your dishwasher filter
Locate the dishwasher filter
Since the filter is located on the base of the dishwasher, it is easier to locate and remove if you remove the bottom rack. Most manual filters are round, rotate in place, and often have arrows indicating which way to turn the cylinder to remove it.
Remove the filter
Carefully remove the filter and gently pull it upwards. Fill the sink or a large bowl with warm water and a few drops of dishwashing liquid or white vinegar. If the filter is dirty enough, baking soda will help clean it.
Soak and scrub the filter
Place the filter(s) in the cleaning solution and let it soak for a few minutes. Use a sponge, an old toothbrush, or a soft-bristled nylon brush to scrub away any residue. Rinse with plenty of water and allow the filter to dry.
Wipe the filter housing
Dip a sponge or dishcloth in the warm soapy water and wipe the area where you will place the filter. There may be some food residue or grease build-up.
The filter is ready to go into place.
With information from thespruce.com