We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9967bb3 commit 4762115Copy full SHA for 4762115
ui/src/views/network/FirewallRules.vue
@@ -404,6 +404,9 @@ export default {
404
addRule () {
405
if (this.loading) return
406
this.loading = true
407
+ if (this.newRule.cidrlist == null || this.newRule.cidrlist.trim?.() === '') {
408
+ delete this.newRule['cidrlist']
409
+ }
410
api('createFirewallRule', { ...this.newRule }).then(response => {
411
this.$pollJob({
412
jobId: response.createfirewallruleresponse.jobid,
0 commit comments