fix: Reload window on settings saved
This commit is contained in:
		@@ -109,7 +109,7 @@
 | 
			
		||||
		try {
 | 
			
		||||
			await post(`/applications/${id}/check.json`, { fqdn: application.fqdn, forceSave });
 | 
			
		||||
			await post(`/applications/${id}.json`, { ...application });
 | 
			
		||||
			return toast.push('Configurations saved.');
 | 
			
		||||
			return window.location.reload();
 | 
			
		||||
		} catch ({ error }) {
 | 
			
		||||
			if (error.startsWith('DNS not set')) {
 | 
			
		||||
				forceSave = true;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user