The teenage owner of an XL bully that mauled a baby girl has admitted an offence in connection with the attack.