Commit da29f25 1 parent 1f1fd0b commit da29f25 Copy full SHA for da29f25
File tree 6 files changed +11
-6
lines changed
src/routes/namespaces/[namespace]/workflows
6 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 11
11
import PageTitle from ' $lib/components/page-title.svelte' ;
12
12
13
13
const workflow = $page .params .workflow ;
14
+ $ : isCloud = $page .stuff ?.settings ?.runtimeEnvironment ?.isCloud ;
14
15
15
16
const views = {
16
17
feed: WorkflowHistoryFeed ,
21
22
</script >
22
23
23
24
<PageTitle title ={` Workflow History | ${workflow } ` } url ={$page .url .href } />
24
- <WorkflowRunLayout cancelEnabled >
25
+ <WorkflowRunLayout cancelEnabled ={ ! isCloud } >
25
26
<WorkflowHistoryLayout >
26
27
<!-- <svelte:fragment slot="timeline">
27
28
<EventHistoryTimelineContainer />
Original file line number Diff line number Diff line change 7
7
import PageTitle from ' $lib/components/page-title.svelte' ;
8
8
9
9
const workflow = $page .params .workflow ;
10
+ $ : isCloud = $page .stuff ?.settings ?.runtimeEnvironment ?.isCloud ;
10
11
</script >
11
12
12
13
<PageTitle title ={` Pending Activities | ${workflow } ` } url ={$page .url .href } />
13
- <WorkflowRunLayout cancelEnabled >
14
+ <WorkflowRunLayout cancelEnabled ={ ! isCloud } >
14
15
<WorkflowPendingActivities />
15
16
</WorkflowRunLayout >
Original file line number Diff line number Diff line change 7
7
import PageTitle from ' $lib/components/page-title.svelte' ;
8
8
9
9
const workflow = $page .params .workflow ;
10
+ $ : isCloud = $page .stuff ?.settings ?.runtimeEnvironment ?.isCloud ;
10
11
</script >
11
12
12
13
<PageTitle title ={` Query | ${workflow } ` } url ={$page .url .href } />
13
- <WorkflowRunLayout cancelEnabled >
14
+ <WorkflowRunLayout cancelEnabled ={ ! isCloud } >
14
15
<WorkflowQuery />
15
16
</WorkflowRunLayout >
Original file line number Diff line number Diff line change 7
7
import WorkflowRunLayout from ' $lib/layouts/workflow-run-layout.svelte' ;
8
8
9
9
const workflow = $page .params .workflow ;
10
+ $ : isCloud = $page .stuff ?.settings ?.runtimeEnvironment ?.isCloud ;
10
11
</script >
11
12
12
13
<PageTitle title ={` Stack Trace | ${workflow } ` } url ={$page .url .href } />
13
- <WorkflowRunLayout cancelEnabled >
14
+ <WorkflowRunLayout cancelEnabled ={ ! isCloud } >
14
15
<WorkflowStackTrace />
15
16
</WorkflowRunLayout >
Original file line number Diff line number Diff line change 7
7
import WorkflowRunLayout from ' $lib/layouts/workflow-run-layout.svelte' ;
8
8
9
9
const workflow = $page .params .workflow ;
10
+ $ : isCloud = $page .stuff ?.settings ?.runtimeEnvironment ?.isCloud ;
10
11
</script >
11
12
12
13
<PageTitle title ={` Workers | ${workflow } ` } url ={$page .url .href } />
13
- <WorkflowRunLayout cancelEnabled >
14
+ <WorkflowRunLayout cancelEnabled ={ ! isCloud } >
14
15
<WorkflowWorkers />
15
16
</WorkflowRunLayout >
Original file line number Diff line number Diff line change 8
8
import AdvancedVisibilityGuard from ' $lib/components/advanced-visibility-guard.svelte' ;
9
9
import WorkflowsWithNewSearch from ' $lib/pages/workflows-with-new-search.svelte' ;
10
10
11
- const isCloud = $page .stuff ?.settings ?.runtimeEnvironment ?.isCloud ;
11
+ $ : isCloud = $page .stuff ?.settings ?.runtimeEnvironment ?.isCloud ;
12
12
</script >
13
13
14
14
<PageTitle
You can’t perform that action at this time.
0 commit comments