|  | @@ -29,6 +29,7 @@ const CustomWebAppBrand = () => {
 | 
											
												
													
														|  |      isCurrentWorkspaceManager,
 |  |      isCurrentWorkspaceManager,
 | 
											
												
													
														|  |    } = useAppContext()
 |  |    } = useAppContext()
 | 
											
												
													
														|  |    const [fileId, setFileId] = useState('')
 |  |    const [fileId, setFileId] = useState('')
 | 
											
												
													
														|  | 
 |  | +  const [imgKey, setImgKey] = useState(Date.now())
 | 
											
												
													
														|  |    const [uploadProgress, setUploadProgress] = useState(0)
 |  |    const [uploadProgress, setUploadProgress] = useState(0)
 | 
											
												
													
														|  |    const isSandbox = enableBilling && plan.type === Plan.sandbox
 |  |    const isSandbox = enableBilling && plan.type === Plan.sandbox
 | 
											
												
													
														|  |    const uploading = uploadProgress > 0 && uploadProgress < 100
 |  |    const uploading = uploadProgress > 0 && uploadProgress < 100
 | 
											
										
											
												
													
														|  | @@ -73,6 +74,7 @@ const CustomWebAppBrand = () => {
 | 
											
												
													
														|  |      })
 |  |      })
 | 
											
												
													
														|  |      mutateCurrentWorkspace()
 |  |      mutateCurrentWorkspace()
 | 
											
												
													
														|  |      setFileId('')
 |  |      setFileId('')
 | 
											
												
													
														|  | 
 |  | +    setImgKey(Date.now())
 | 
											
												
													
														|  |    }
 |  |    }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |    const handleRestore = async () => {
 |  |    const handleRestore = async () => {
 | 
											
										
											
												
													
														|  | @@ -80,7 +82,7 @@ const CustomWebAppBrand = () => {
 | 
											
												
													
														|  |        url: '/workspaces/custom-config',
 |  |        url: '/workspaces/custom-config',
 | 
											
												
													
														|  |        body: {
 |  |        body: {
 | 
											
												
													
														|  |          remove_webapp_brand: false,
 |  |          remove_webapp_brand: false,
 | 
											
												
													
														|  | -        replace_webapp_logo: null,
 |  | 
 | 
											
												
													
														|  | 
 |  | +        replace_webapp_logo: '',
 | 
											
												
													
														|  |        },
 |  |        },
 | 
											
												
													
														|  |      })
 |  |      })
 | 
											
												
													
														|  |      mutateCurrentWorkspace()
 |  |      mutateCurrentWorkspace()
 | 
											
										
											
												
													
														|  | @@ -91,7 +93,6 @@ const CustomWebAppBrand = () => {
 | 
											
												
													
														|  |        url: '/workspaces/custom-config',
 |  |        url: '/workspaces/custom-config',
 | 
											
												
													
														|  |        body: {
 |  |        body: {
 | 
											
												
													
														|  |          remove_webapp_brand: checked,
 |  |          remove_webapp_brand: checked,
 | 
											
												
													
														|  | -        replace_webapp_logo: webappLogo,
 |  | 
 | 
											
												
													
														|  |        },
 |  |        },
 | 
											
												
													
														|  |      })
 |  |      })
 | 
											
												
													
														|  |      mutateCurrentWorkspace()
 |  |      mutateCurrentWorkspace()
 | 
											
										
											
												
													
														|  | @@ -121,7 +122,7 @@ const CustomWebAppBrand = () => {
 | 
											
												
													
														|  |                  POWERED BY
 |  |                  POWERED BY
 | 
											
												
													
														|  |                  {
 |  |                  {
 | 
											
												
													
														|  |                    webappLogo
 |  |                    webappLogo
 | 
											
												
													
														|  | -                    ? <img key={webappLogo} src={webappLogo} alt='logo' className='ml-2 block w-auto h-5' />
 |  | 
 | 
											
												
													
														|  | 
 |  | +                    ? <img src={`${webappLogo}?hash=${imgKey}`} alt='logo' className='ml-2 block w-auto h-5' />
 | 
											
												
													
														|  |                      : <LogoSite className='ml-2 !h-5' />
 |  |                      : <LogoSite className='ml-2 !h-5' />
 | 
											
												
													
														|  |                  }
 |  |                  }
 | 
											
												
													
														|  |                </div>
 |  |                </div>
 |