Generally speaking, salt is salty, and adding some sugar (just a little) can better distribute the flavor of ingredients.
Similarly, adding a little salt to sugared dishes will not only affect the "sweet" taste, but also make the dishes taste better.
So generally speaking (when there are no diabetics at home), sugar and salt complement each other.
Of course, those sweets don't have to be put. If you want to take care of diabetics, you can still not consider it.
What's more, our bodies have metabolic functions, so it's ok to eat a small amount in moderation, and there's no reason to eat sugar as a meal!