Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Update permission for showing workflow caller policy #4916

Merged
merged 3 commits into from
Dec 14, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
chore: merge master
  • Loading branch information
alexgrozav committed Dec 14, 2022
commit 6dda6cd08b7728e906cb6e7584047ae25a988084
19 changes: 13 additions & 6 deletions packages/editor-ui/src/components/WorkflowSettings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
<div v-if="isWorkflowSharingEnabled">
<el-row>
<el-col :span="10" class="setting-name">
{{ $locale.baseText('workflowSettings.callerPolicy') + ":" }}
<n8n-tooltip class="setting-info" placement="top" >
{{ $locale.baseText('workflowSettings.callerPolicy') + ':' }}
<n8n-tooltip class="setting-info" placement="top">
<template #content>
<div v-text="helpTexts.workflowCallerPolicy"></div>
</template>
Expand All @@ -54,20 +54,27 @@
</el-col>

<el-col :span="14" class="ignore-key-press">
<n8n-select v-model="workflowSettings.callerPolicy" :placeholder="$locale.baseText('workflowSettings.selectOption')" size="medium" filterable :limit-popper-width="true">
<n8n-select
v-model="workflowSettings.callerPolicy"
:placeholder="$locale.baseText('workflowSettings.selectOption')"
size="medium"
filterable
:limit-popper-width="true"
>
<n8n-option
v-for="option of workflowCallerPolicyOptions"
:key="option.key"
:label="option.value"
:value="option.key">
:value="option.key"
>
</n8n-option>
</n8n-select>
</el-col>
</el-row>
<el-row v-if="workflowSettings.callerPolicy === 'workflowsFromAList'">
<el-col :span="10" class="setting-name">
{{ $locale.baseText('workflowSettings.callerIds') + ":" }}
<n8n-tooltip class="setting-info" placement="top" >
{{ $locale.baseText('workflowSettings.callerIds') + ':' }}
<n8n-tooltip class="setting-info" placement="top">
<template #content>
<div v-text="helpTexts.workflowCallerIds"></div>
</template>
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.