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