URL fixed #51

Merged
ameye merged 1 commits from internal-url into master 2025-07-24 15:39:29 +00:00
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ const queryClient = new QueryClient({
refetchOnWindowFocus: false,
retry: 3,
// refetchOnMount: false,
staleTime: 360000 // can also be a number in millisecond
staleTime: 10*60*1000 // can also be a number in millisecond
},
},
})
+3 -3
View File
@@ -4,7 +4,7 @@ import BreadcrumbComBS from "../breadcrumb/BreadcrumbComBS";
import GeneralTab from "./settingsTab/GeneralTab";
export default function ProductActive(){
export default function ProductActive({productData}){
const settingsObject = {
home_tab: { title: 'Home Page', controls: 'home', active: 'active show' , data: {}},
footer_tab: { title: 'Footer', controls: 'footer', active: '', data: {} },
@@ -32,11 +32,11 @@ export default function ProductActive(){
<div className="card card-statistics">
<div className="card-header">
<div className="card-heading">
<h4 className="card-title">https://25681.devprov.mermsemr.com/</h4>
<h4 className="card-title">{productData?.internal_url ? productData?.internal_url : 'https://25681.devprov.mermsemr.com/'}</h4>
</div>
</div>
<div className="card-body">
<iframe style={{borderWidth: '0px;'}} src="https://25681.devprov.mermsemr.com/" width="100%" height="600" title="https://25681.devprov.mermsemr.com"></iframe>
<iframe style={{borderWidth: '0px;'}} src={productData?.internal_url ? productData?.internal_url : 'https://25681.devprov.mermsemr.com/'} width="100%" height="600" title={productData?.internal_url ? productData?.internal_url : 'https://25681.devprov.mermsemr.com/'}></iframe>
</div>
</div>