mirror of
https://github.com/sim1222/misskey.git
synced 2025-08-05 08:14:12 +09:00
Prevent users from changing the disabled option (#5344)
This commit is contained in:
@ -49,6 +49,7 @@ export default Vue.extend({
|
||||
},
|
||||
methods: {
|
||||
toggle() {
|
||||
if (this.disabled) return;
|
||||
this.$emit('change', !this.checked);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user