fix(sunset): don't show banner after rollout

This commit is contained in:
SabreCat 2023-06-14 16:45:21 -05:00
parent 952b99599b
commit 1e7ea399b1
2 changed files with 1 additions and 6 deletions

View file

@ -14,8 +14,6 @@ module.exports = {
// TODO find a way to let eslint understand webpack aliases
'import/no-unresolved': 'off',
'import/extensions': 'off',
'vue/component-tags-order': 'off',
'vue/no-mutating-props': 'off',
'vue/no-v-html': 'off',
'vue/html-self-closing': ['error', {
html: {

View file

@ -56,10 +56,7 @@ export default {
return (this.$route.fullPath.indexOf('/faq')) !== -1;
},
showChatWarning () {
if (this.$route.fullPath.indexOf('/groups') !== -1) return true;
if (this.$route.fullPath.indexOf('/tavern-and-guilds') !== -1) return false;
if (this.$route.fullPath.indexOf('/tavern') !== -1) return true;
return this.faqPage;
return false;
},
},
};