Merge branch 'internal-url' of MERMS/MermsPanelReactJS into master
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@ const queryClient = new QueryClient({
|
|||||||
refetchOnWindowFocus: false,
|
refetchOnWindowFocus: false,
|
||||||
retry: 3,
|
retry: 3,
|
||||||
// refetchOnMount: false,
|
// refetchOnMount: false,
|
||||||
staleTime: 360000 // can also be a number in millisecond
|
staleTime: 10*60*1000 // can also be a number in millisecond
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import BreadcrumbComBS from "../breadcrumb/BreadcrumbComBS";
|
|||||||
import GeneralTab from "./settingsTab/GeneralTab";
|
import GeneralTab from "./settingsTab/GeneralTab";
|
||||||
|
|
||||||
|
|
||||||
export default function ProductActive(){
|
export default function ProductActive({productData}){
|
||||||
const settingsObject = {
|
const settingsObject = {
|
||||||
home_tab: { title: 'Home Page', controls: 'home', active: 'active show' , data: {}},
|
home_tab: { title: 'Home Page', controls: 'home', active: 'active show' , data: {}},
|
||||||
footer_tab: { title: 'Footer', controls: 'footer', active: '', 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 card-statistics">
|
||||||
<div className="card-header">
|
<div className="card-header">
|
||||||
<div className="card-heading">
|
<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>
|
</div>
|
||||||
<div className="card-body">
|
<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>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user