File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed
Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ export interface ITheme {
22 logo ?: string ;
33 palette : Record < string , { color : string ; foreground : string } > ;
44 elements : Record < string , string | Record < string , string > > ;
5+ ui ?: {
6+ poweredBy ?: boolean ;
7+ } ;
58}
69
710export interface ISettings {
Original file line number Diff line number Diff line change @@ -219,16 +219,20 @@ export const CollectionFlow = withSessionProtected(() => {
219219 </ div >
220220 < div >
221221 { customer ?. displayName && (
222- < div className = "border-b pb-12" >
222+ < div >
223223 {
224224 t ( 'contact' , {
225225 companyName : customer . displayName ,
226226 } ) as string
227227 }
228228 </ div >
229229 ) }
230- { /* <img src={'/poweredby.svg'} className="mt-6" /> */ }
231- < PoweredByLogo className = "mt-8" sidebarRootId = "sidebar" />
230+ { themeDefinition . ui ?. poweredBy !== false && (
231+ < div className = "flex flex-col" >
232+ < div className = "pb-12 border-b" />
233+ < PoweredByLogo className = "mt-8" sidebarRootId = "sidebar" />
234+ </ div >
235+ ) }
232236 </ div >
233237 </ div >
234238 </ div >
You can’t perform that action at this time.
0 commit comments