1
0

feat: allow disabling icon changes

This commit is contained in:
kolaente
2023-06-02 13:51:29 +02:00
parent 6f1ff02c04
commit efb3407b87
5 changed files with 6 additions and 1 deletions

View File

@ -9,7 +9,7 @@ import {MILLISECONDS_A_HOUR} from '@/constants/date'
const now = useNow({
interval: MILLISECONDS_A_HOUR,
})
const Logo = computed(() => now.value.getMonth() === 5 ? LogoFullPride : LogoFull)
const Logo = computed(() => window.ALLOW_ICON_CHANGES && now.value.getMonth() === 5 ? LogoFullPride : LogoFull)
</script>
<template>

View File

@ -24,6 +24,7 @@ declare global {
SENTRY_ENABLED: boolean;
SENTRY_DSN: string;
PROJECT_INFINITE_NESTING_ENABLED: boolean;
ALLOW_ICON_CHANGES: boolean;
}
}