windmill-components 1.430.2 → 1.430.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -33,6 +33,8 @@ export type FlowBuilderWhitelabelCustomUi = {
33
33
  stepAdvancedSettings?: boolean;
34
34
  languages?: (SupportedLanguage | 'docker' | 'bunnative')[];
35
35
  scriptFork?: boolean;
36
+ scriptEdit?: boolean;
37
+ tagEdit?: boolean;
36
38
  editorBar?: EditorBarUi;
37
39
  downloadLogs?: boolean;
38
40
  };
@@ -89,7 +89,8 @@ $: moduleRetry = module.retry?.constant || module.retry?.exponential;
89
89
  {/if}
90
90
  {#if module.value.type === 'script'}
91
91
  <div class="w-2" />
92
- {#if !module.value.path.startsWith('hub/')}
92
+
93
+ {#if !module.value.path.startsWith('hub/') && customUi?.scriptEdit != false}
93
94
  <Button
94
95
  size="xs"
95
96
  color="light"
@@ -109,7 +110,9 @@ $: moduleRetry = module.retry?.constant || module.retry?.exponential;
109
110
  Edit {#if module.value.hash != undefined} (locked hash){/if}
110
111
  </Button>
111
112
  {/if}
112
- <FlowModuleWorkerTagSelect nullTag={tag} bind:tag={module.value.tag_override} />
113
+ {#if customUi?.tagEdit != false}
114
+ <FlowModuleWorkerTagSelect nullTag={tag} bind:tag={module.value.tag_override} />
115
+ {/if}
113
116
  {#if customUi?.scriptFork != false}
114
117
  <Button
115
118
  size="xs"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "windmill-components",
3
- "version": "1.430.2",
3
+ "version": "1.430.3",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build",