From e0adbb3ed9c5ea7574ee17404a811d3b0c6a3ffe Mon Sep 17 00:00:00 2001 From: Hirame1 <56225774+Hirame1@users.noreply.github.com> Date: Wed, 1 May 2024 12:28:29 +0700 Subject: [PATCH] Fix console error in Cel 3 --- src/components/tabs/time-studies/TimeStudyButton.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/tabs/time-studies/TimeStudyButton.vue b/src/components/tabs/time-studies/TimeStudyButton.vue index af7632c39..da7a01ef3 100644 --- a/src/components/tabs/time-studies/TimeStudyButton.vue +++ b/src/components/tabs/time-studies/TimeStudyButton.vue @@ -112,6 +112,9 @@ export default { const costCond = (this.showCost && !this.showStCost) || this.STCost === 0; return !this.setup.isSmall && !this.doomedRealityStudy && costCond; }, + isDisabledByEnslaved() { + return this.study.id === 192 && Enslaved.isRunning; + }, customCostStr() { const ttStr = this.setup.isSmall ? `${formatInt(this.config.cost)} TT` @@ -188,7 +191,7 @@ export class TimeStudySetup { :config="config" name="Time Theorem" /> -
+
Cost: {{ customCostStr }}