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