I want to edit the object property of a component based on the value that is returned from my API call. The problem is that the var that I use to set the object property is in t