Log into portal.azure.com and search for Azure AD conditional access.
Select ‘Named locations’
Select the location you’d like to edit and then scroll down and select the countries. Do not search for countries and select from there. There appears to be a UI bug at the moment that clears the list.