Hi @gargsuchi,
I have tested the above patch. It applies cleanly but If the c...

Contribution Date
Technology
Contribution Project
Contribution Details

Hi @gargsuchi,

I have tested the above patch. It applies cleanly but If the current route is an admin route than $title returns an object but if the $title is a string which is the case of non-admin route than directly applying getUntranslatedString() throws an error. In that case I am checking if it is an object than apply the method else fetch the $title using $this->titleResolver->getTitle().
Please review the patch.

Thanks!

Contribution Author
Files count
1
Patches count
1