mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-09-22 11:59:28 +08:00
Clean up var declaration
This commit is contained in:
@@ -111,8 +111,7 @@
|
||||
// Disable Django if Python is disabled
|
||||
'$props.data.python': {
|
||||
handler(data) {
|
||||
const state = data.computed;
|
||||
if (state) {
|
||||
if (data.computed) {
|
||||
this.$props.data.djangoRules.enabled = true;
|
||||
this.$props.data.djangoRules.computed = this.$props.data.djangoRules.value;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user