A proposal to convert a former family social club and its site into a block of flats in Sheffield has been accepted.