client config rename for frontend
This commit is contained in:
@@ -24,11 +24,11 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const openClientConfigManager = async () => {
|
const openClientConfig = async () => {
|
||||||
try {
|
try {
|
||||||
await commands.openClientConfigManager();
|
await commands.openClientConfig();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error("Failed to open client config manager", error);
|
console.error("Failed to open client config", error);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -73,7 +73,7 @@
|
|||||||
<button class="btn" class:btn-disabled={signingOut} onclick={handleSignOut}>
|
<button class="btn" class:btn-disabled={signingOut} onclick={handleSignOut}>
|
||||||
{signingOut ? "Signing out..." : "Sign out"}
|
{signingOut ? "Signing out..." : "Sign out"}
|
||||||
</button>
|
</button>
|
||||||
<button class="btn btn-outline" onclick={openClientConfigManager}>
|
<button class="btn btn-outline" onclick={openClientConfig}>
|
||||||
Advanced options
|
Advanced options
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -55,9 +55,9 @@
|
|||||||
class="btn btn-outline"
|
class="btn btn-outline"
|
||||||
onclick={async () => {
|
onclick={async () => {
|
||||||
try {
|
try {
|
||||||
await commands.openClientConfigManager();
|
await commands.openClientConfig();
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
errorMessage = `Failed to open config manager: ${err}`;
|
errorMessage = `Failed to open config: ${err}`;
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -57,11 +57,11 @@
|
|||||||
form.username = "";
|
form.username = "";
|
||||||
};
|
};
|
||||||
|
|
||||||
const openClientConfigManager = async () => {
|
const openClientConfig = async () => {
|
||||||
try {
|
try {
|
||||||
await commands.openClientConfigManager();
|
await commands.openClientConfig();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error("Failed to open client config manager", error);
|
console.error("Failed to open client config", error);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
@@ -154,7 +154,7 @@
|
|||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
class="btn btn-link p-0 btn-sm text-base-content w-max"
|
class="btn btn-link p-0 btn-sm text-base-content w-max"
|
||||||
onclick={openClientConfigManager}
|
onclick={openClientConfig}
|
||||||
>
|
>
|
||||||
Advanced options
|
Advanced options
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
Reference in New Issue
Block a user