fix: Settings fqdn grr

This commit is contained in:
Andras Bacsai 2022-02-23 10:26:29 +01:00
parent 11ee1651ae
commit 98e8d5170b

View File

@ -75,7 +75,7 @@
async function handleSubmit() { async function handleSubmit() {
try { try {
loading.save = true; loading.save = true;
if (fqdn) { if (fqdn !== settings.fqdn) {
await post(`/settings/check.json`, { fqdn }); await post(`/settings/check.json`, { fqdn });
await post(`/settings.json`, { fqdn }); await post(`/settings.json`, { fqdn });
} }