31 adds support for changing the profile. The current implementation will remove the existing SVG and recreate it when the profile is changed. This is unnecessary as the text itself does not need to be recreated since the locale did not change. Update the logic so that only the sunburst is updated when the profile is changed. No elements need to be removed, only their value needs to be changed.
31 adds support for changing the profile. The current implementation will remove the existing SVG and recreate it when the profile is changed. This is unnecessary as the text itself does not need to be recreated since the locale did not change. Update the logic so that only the sunburst is updated when the profile is changed. No elements need to be removed, only their value needs to be changed.