mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-14 14:07:38 -07:00
Prevent users from changing the disabled option (#5344)
This commit is contained in:
parent
b0a187a509
commit
6342f4770b
1 changed files with 1 additions and 0 deletions
|
@ -49,6 +49,7 @@ export default Vue.extend({
|
|||
},
|
||||
methods: {
|
||||
toggle() {
|
||||
if (this.disabled) return;
|
||||
this.$emit('change', !this.checked);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue