DEICH-6200 - Loader animation hangs
-Fixed condition making loader animations hang on empty data from server. -Removed unused re-assign+non-existing second parameter -Added default value to req (SonarLint fix) -Removed redundant regexp escaping -Removed redundant variable initializers -Removed redundant local variable (locationQuery)
Closes DEICH-6200
Edited by Tom Adam