From bf9db79a40cb22d62045b551e9534b4b41430c7c Mon Sep 17 00:00:00 2001 From: Matt Isenhower Date: Fri, 25 Aug 2017 23:12:01 -0700 Subject: [PATCH] Add the word "upcoming" to the Splatfest title --- src/js/components/splatoon/SplatfestBox.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/js/components/splatoon/SplatfestBox.vue b/src/js/components/splatoon/SplatfestBox.vue index fdfdf22..f217916 100644 --- a/src/js/components/splatoon/SplatfestBox.vue +++ b/src/js/components/splatoon/SplatfestBox.vue @@ -2,7 +2,7 @@

- Splatfest + {{ title }}

@@ -47,6 +47,11 @@ import Vue from 'vue'; export default { props: ['festival', 'now'], computed: { + title() { + if (this.festival.times.start > this.now) + return 'Upcoming Splatfest'; + return 'Splatfest'; + }, image() { if (this.festival) return Vue.filter('localSplatNetImageUrl')(this.festival.images.panel);