mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 12:24:30 +01:00
Fix toast notification ID conflict in createConfig
This commit is contained in:
1 parent
3fd62b77a1
commit
ff3971f26d
1 file changed
+2
-2
@@ -173,9 +173,9 @@ export function OpenCodeConfigManager() {
|
||||
await fetchConfigs()
|
||||
|
||||
if (isDefault) {
|
||||
showToast.loading('Restarting server...', { id: 'restart-server' })
|
||||
showToast.loading('Restarting server...', { id: 'create-config' })
|
||||
await restartServerMutation.mutateAsync()
|
||||
showToast.success('Configuration created and server restarted', { id: 'restart-server' })
|
||||
showToast.success('Configuration created and server restarted', { id: 'create-config' })
|
||||
} else {
|
||||
showToast.success('Configuration created', { id: 'create-config' })
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user