fix: cloudlink url

This commit is contained in:
Mo
2022-01-03 10:47:33 -06:00
parent f405333898
commit 4153c81638
4 changed files with 22 additions and 8 deletions

View File

@@ -238,7 +238,7 @@ export const ComponentView: FunctionalComponent<IProps> = observer(
ref={iframeRef}
data-component-viewer-id={componentViewer.identifier}
frameBorder={0}
src={application.componentManager.urlForComponent(component) || ''}
src={componentViewer.url || ''}
sandbox="allow-scripts allow-top-navigation-by-user-activation allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-modals allow-forms allow-downloads"
>
Loading