Skip to content

fix(admin): parsing userId on myProfile/attributes page

Created by: HejdaJakub

  • We tried to parse userId from url and if it was undefined, then we parsed it from principal. As we changed type notation from as number to Number(), the userId is equal to NaN (if it isn't present in the url) and the check just for undefined was failing, so we didn't parse the userId from principal.

Merge request reports