In Issue board url doesn't take in account hostname settings

Summary

Issue board doesn't take in account hostname setting in new design. I have gitlab in docker on :10080 and proxied by nginx to :80. In every other part of the app it works fine but it tries to load http://gitlab.need4site.net:10080/boards/2/lists instead of http://gitlab.need4site.net/boards/2/lists on board page and fails to load due to browser anti crossdomain protection.

Steps to reproduce

Run using docker on any port other than standard, put nginx in front to proxy on any other port, set hostname, check the board page, see error in browser console.

What is the current bug behavior?

hostname setting is ignored for /boards/<id>/lists url

What is the expected correct behavior?

It should take in account hostname

Relevant logs and/or screenshots

image