mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-29 17:26:26 -05:00
Merge pull request #2962 from chakflying/fix/missing-clear-form
Fix: Add missing clearForm func.
This commit is contained in:
commit
b6169408be
@ -159,6 +159,16 @@ export default {
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
/** Clear Form inputs */
|
||||
clearForm() {
|
||||
this.key = {
|
||||
name: "",
|
||||
expires: this.minDate,
|
||||
active: 1,
|
||||
};
|
||||
this.noExpire = false;
|
||||
},
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user