feat: set proxy config true on form submit
This commit is contained in:
@@ -100,6 +100,7 @@ const ProxyForm: React.FC = () => {
|
|||||||
try {
|
try {
|
||||||
const response = await sendProxyConfig(proxyConfigForm);
|
const response = await sendProxyConfig(proxyConfigForm);
|
||||||
if (response) {
|
if (response) {
|
||||||
|
setIsProxyConfigured(true);
|
||||||
notify('success', t('proxy.notifications.config_success'));
|
notify('success', t('proxy.notifications.config_success'));
|
||||||
} else {
|
} else {
|
||||||
notify('error', t('proxy.notifications.config_error'));
|
notify('error', t('proxy.notifications.config_error'));
|
||||||
|
|||||||
Reference in New Issue
Block a user