mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-20 08:01:35 +00:00
fix: fix missing workspaceId on display result of apps
This commit is contained in:
@@ -117,7 +117,7 @@
|
||||
<div class="w-full h-full mt-2 text-sm text-tertiary">
|
||||
<p>Waiting to be resumed</p>
|
||||
{#if description != undefined}
|
||||
<DisplayResult noControls result={description} />
|
||||
<DisplayResult {workspaceId} noControls result={description} />
|
||||
{/if}
|
||||
<div>
|
||||
{#if isOwner || resumeUrl}
|
||||
|
||||
@@ -24,7 +24,8 @@
|
||||
export let configuration: RichConfigurations
|
||||
|
||||
const requireHtmlApproval = getContext<boolean | undefined>(IS_APP_PUBLIC_CONTEXT_KEY)
|
||||
const { app, worldStore, componentControl } = getContext<AppViewerContext>('AppViewerContext')
|
||||
const { app, worldStore, componentControl, workspace } =
|
||||
getContext<AppViewerContext>('AppViewerContext')
|
||||
|
||||
let result: any = undefined
|
||||
|
||||
@@ -90,7 +91,12 @@
|
||||
customCss?.container?.class
|
||||
)}
|
||||
>
|
||||
<DisplayResult {result} {requireHtmlApproval} disableExpand={resolvedConfig?.hideDetails} />
|
||||
<DisplayResult
|
||||
workspaceId={workspace}
|
||||
{result}
|
||||
{requireHtmlApproval}
|
||||
disableExpand={resolvedConfig?.hideDetails}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</RunnableWrapper>
|
||||
|
||||
+6
-1
@@ -110,7 +110,12 @@
|
||||
customCss?.container?.class
|
||||
)}
|
||||
>
|
||||
<DisplayResult {result} {requireHtmlApproval} disableExpand={resolvedConfig?.hideDetails} />
|
||||
<DisplayResult
|
||||
workspaceId={workspace}
|
||||
{result}
|
||||
{requireHtmlApproval}
|
||||
disableExpand={resolvedConfig?.hideDetails}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user