Don’t worry. The salt is only used to regenerate the system and then rinsed out completely. Only then is the tank available again for ion exchange. So no salt gets into the drinking water.
During softening, calcium and magnesium ions are exchanged for sodium ions. The total mineral content therefore remains the same.