chore: Add feature flag for branding (#5370)

This commit is contained in:
Pranav Raj S 2022-09-01 17:12:26 +05:30 committed by GitHub
parent ee2189d98a
commit 83fb46bc50
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 17 additions and 4 deletions

View file

@ -1,5 +1,8 @@
<template>
<div v-if="globalConfig.brandName" class="px-0 py-3 flex justify-center">
<div
v-if="globalConfig.brandName && !disableBranding"
class="px-0 py-3 flex justify-center"
>
<a
:href="brandRedirectURL"
rel="noreferrer noopener nofollow"
@ -30,6 +33,12 @@ const {
export default {
mixins: [globalConfigMixin],
props: {
disableBranding: {
type: Boolean,
default: false,
},
},
data() {
return {
globalConfig: {