File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
src/ui/src/builder/settings Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 2828 />
2929 </WdsFieldWrapper >
3030
31- <div class =" DeploySharedBlueprint__globalOption" >
31+ <div
32+ v-if =" isGlobalBlueprintProposalsEnabled"
33+ class =" DeploySharedBlueprint__globalOption"
34+ >
3235 <label class =" DeploySharedBlueprint__checkbox" >
3336 <input v-model =" form.proposeAsGlobal" type =" checkbox" />
3437 <span >Propose as global blueprint</span >
@@ -78,6 +81,12 @@ const { writerApi } = useWriterApi();
7881
7982const blueprint = computed (() => wf .getComponentById (props .blueprintId ));
8083
84+ const isGlobalBlueprintProposalsEnabled = computed (
85+ () =>
86+ Array .isArray (wf .featureFlags .value ) &&
87+ wf .featureFlags .value .includes (" global_blueprint_proposals" ),
88+ );
89+
8190const blueprintName = computed (
8291 () => blueprint .value ?.content ?.key || " Shared Blueprint" ,
8392);
You can’t perform that action at this time.
0 commit comments