A Scarborough upholstery business will be partially converted into a residential flat after plans were approved by North Yorkshire Council.