From 062b4ec88117d69202ee66a270dd52a634bc9902 Mon Sep 17 00:00:00 2001 From: Andrei Andreev Date: Wed, 24 Jul 2019 22:02:15 +0300 Subject: [PATCH] Fix galaxy autobuyer interval visibility --- .../components/infinity/autobuyers/galaxy-autobuyer-box.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/javascripts/components/infinity/autobuyers/galaxy-autobuyer-box.js b/javascripts/components/infinity/autobuyers/galaxy-autobuyer-box.js index 4587444e4..a1374c69d 100644 --- a/javascripts/components/infinity/autobuyers/galaxy-autobuyer-box.js +++ b/javascripts/components/infinity/autobuyers/galaxy-autobuyer-box.js @@ -5,7 +5,8 @@ Vue.component("galaxy-autobuyer-box", { return { limitGalaxies: false, isBuyMaxUnlocked: false, - buyMax: false + buyMax: false, + showInterval: false }; }, watch: { @@ -24,10 +25,11 @@ Vue.component("galaxy-autobuyer-box", { this.isBuyMaxUnlocked = this.autobuyer.isBuyMaxUnlocked; this.limitGalaxies = this.autobuyer.limitGalaxies; this.buyMax = this.autobuyer.buyMax; + this.showInterval = !this.autobuyer.isBuyMaxActive; } }, template: - ` + `