Add team preference to use logo for branding (#4285)
* feat: add team preference to use logo for branding * fix: allow on cloud version too
This commit is contained in:
@@ -57,6 +57,22 @@ function Features() {
|
||||
/>
|
||||
</SettingRow>
|
||||
)}
|
||||
{team.avatarUrl && (
|
||||
<SettingRow
|
||||
name="publicBranding"
|
||||
label={t("Public branding")}
|
||||
description={t(
|
||||
"Show your team’s logo on public pages like login and shared documents."
|
||||
)}
|
||||
>
|
||||
<Switch
|
||||
id="publicBranding"
|
||||
name="publicBranding"
|
||||
checked={!!team.preferences?.publicBranding}
|
||||
onChange={handlePreferenceChange}
|
||||
/>
|
||||
</SettingRow>
|
||||
)}
|
||||
</Scene>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user