mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-11-08 05:27:36 +08:00
Clean up var declaration
This commit is contained in:
@@ -155,8 +155,7 @@
|
||||
// Disable everything if PHP is disabled
|
||||
'$props.data.php': {
|
||||
handler(data) {
|
||||
const state = data.computed;
|
||||
if (state) {
|
||||
if (data.computed) {
|
||||
this.$props.data.wordPressRules.enabled = true;
|
||||
this.$props.data.wordPressRules.computed = this.$props.data.wordPressRules.value;
|
||||
this.$props.data.drupalRules.enabled = true;
|
||||
|
||||
Reference in New Issue
Block a user