remove duplicate code in the view service; an if-switch was pulled into the inner loop
remove duplicate code in the view service; an if-switch was pulled into the inner loop

jpfr/open62541,JGrothoff/open62541,AGIsmail/open62541,open62541/open62541,StalderT/open62541,bostjanv/open62541,StalderT/open62541,jpfr/open62541,StalderT/open62541,open62541/open62541,bostjanv/open62541,open62541/open62541,jpfr/open62541,StalderT/open62541,open62541/open62541,JGrothoff/open62541,JGrothoff/open62541,AGIsmail/open62541,jpfr/open62541,JGrothoff/open62541