feat(MED-97): hide company logo upload if it doesn't work
This commit is contained in:
@@ -13,6 +13,8 @@ import { TeamAccountDangerZone } from './team-account-danger-zone';
|
|||||||
import { UpdateTeamAccountImage } from './update-team-account-image-container';
|
import { UpdateTeamAccountImage } from './update-team-account-image-container';
|
||||||
import { UpdateTeamAccountNameForm } from './update-team-account-name-form';
|
import { UpdateTeamAccountNameForm } from './update-team-account-name-form';
|
||||||
|
|
||||||
|
const SHOW_TEAM_LOGO = false as boolean;
|
||||||
|
|
||||||
export function TeamAccountSettingsContainer(props: {
|
export function TeamAccountSettingsContainer(props: {
|
||||||
account: {
|
account: {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -32,21 +34,23 @@ export function TeamAccountSettingsContainer(props: {
|
|||||||
}) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<div className={'flex w-full flex-col space-y-4'}>
|
<div className={'flex w-full flex-col space-y-4'}>
|
||||||
<Card>
|
{SHOW_TEAM_LOGO && (
|
||||||
<CardHeader>
|
<Card>
|
||||||
<CardTitle>
|
<CardHeader>
|
||||||
<Trans i18nKey={'teams:settings.teamLogo'} />
|
<CardTitle>
|
||||||
</CardTitle>
|
<Trans i18nKey={'teams:settings.teamLogo'} />
|
||||||
|
</CardTitle>
|
||||||
|
|
||||||
<CardDescription>
|
<CardDescription>
|
||||||
<Trans i18nKey={'teams:settings.teamLogoDescription'} />
|
<Trans i18nKey={'teams:settings.teamLogoDescription'} />
|
||||||
</CardDescription>
|
</CardDescription>
|
||||||
</CardHeader>
|
</CardHeader>
|
||||||
|
|
||||||
<CardContent>
|
<CardContent>
|
||||||
<UpdateTeamAccountImage account={props.account} />
|
<UpdateTeamAccountImage account={props.account} />
|
||||||
</CardContent>
|
</CardContent>
|
||||||
</Card>
|
</Card>
|
||||||
|
)}
|
||||||
|
|
||||||
<Card>
|
<Card>
|
||||||
<CardHeader>
|
<CardHeader>
|
||||||
|
|||||||
Reference in New Issue
Block a user