Posting Salary Components to Cost Centre

In posting a supplier payment the facility exists to post this to an account an also a valid cost centre or project.

However, when posting salary components is seems that they may only be posted to accounts without cost centre or project information.

Is this an oversight?

Can you please raise a github issue for the same. And also can you explain bit about the expected behavior.