Displaying unitDetails when user navigate from add assignments