Somebody, ~cough @Zeroks77 cough implemented a great april pun but neglected that the random variable is important :)~
Nevermind, I read the if statement the other way around, so something does not seem to work.
To Reproduce:
Upload a picture in chrome
The picture does not change because it still gets cached.
The random reload feature is disabled because it only gets enabled with the feature flag on.
Either we should find a way to make both work or remove the feature flag.
Describe the bug:
Somebody, ~cough @Zeroks77 cough implemented a great april pun but neglected that the random variable is important :)~ Nevermind, I read the if statement the other way around, so something does not seem to work.
To Reproduce:
Expected behavior:
Additional context:
https://github.com/T-Systems-MMS/phonebook/blob/0a68f53373168c6fdd3d56b17daf155a34654728/Phonebook.Frontend/src/app/modules/profile-picture/components/profile-picture/profile-picture.component.ts#L59-L60
The random reload feature is disabled because it only gets enabled with the feature flag on. Either we should find a way to make both work or remove the feature flag.