diff --git a/packages/playground/src/dashboard/components/add_ip.vue b/packages/playground/src/dashboard/components/add_ip.vue index c7810d3a57..0e1821d2cf 100644 --- a/packages/playground/src/dashboard/components/add_ip.vue +++ b/packages/playground/src/dashboard/components/add_ip.vue @@ -263,8 +263,16 @@ export default { createCustomToast(`Failed to add IP. ${error}`, ToastType.danger); } finally { isAdding.value = false; + reset(); } } + + function reset() { + publicIP.value = ""; + toPublicIP.value = ""; + gateway.value = ""; + } + return { showDialogue, valid,