What are you trying to do? relationship managers are suppose to show on edit and view page. They don’t make much sense anywhere else since they need a record to work right.
Don’t put it in the resource. Use the same method on the ViewRecord class and it will only show on the View. Still doesn’t make sense to me though since there’s no way to manage the relations except on the EditRecord class.