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

FOUR-18058 Update Element destination labels #1873

Merged
merged 1 commit into from
Oct 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
8 changes: 6 additions & 2 deletions src/components/inspectors/ElementDestination.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div>
<form-multi-select
:label="$t('Element Destination')"
:label="$t(label)"
name="ElementDestination"
:helper="helper"
v-model="elementDestination"
Expand Down Expand Up @@ -68,6 +68,10 @@ import isEqual from 'lodash/isEqual';
export default {
components: { ProcessFormSelect },
props: {
label: {
type: String,
default: 'Element Destination',
},
options: {
type: Array,
},
Expand Down Expand Up @@ -142,7 +146,7 @@ export default {
},
helper() {
if (this.node.$type === 'bpmn:EndEvent') {
return this.$t('The user will go here after completing the task.');
return this.$t('The user will go here after completing the process.');
}

return this.$t('Select where to send users after this task. Any Non-default destination will disable the “Display Next Assigned Task” function.');
Expand Down
2 changes: 0 additions & 2 deletions src/components/inspectors/endEventElementDestination.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ export default {
component: ElementDestination,
config: {
label: 'Element Destination',
helper: 'Select the element destination',
placeholder: 'Select the element destination',
name: 'elementDestination',
destinationType: 'taskSource',
options: [
Expand Down
4 changes: 1 addition & 3 deletions src/components/inspectors/taskElementDestination.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ import ElementDestination from '@/components/inspectors/ElementDestination.vue';
export default {
component: ElementDestination,
config: {
label: 'Element Destination',
helper: 'Select the element destination',
placeholder: 'Select the element destination',
label: 'Task Destination',
name: 'elementDestination',
destinationType: 'taskSource',
options: [
Expand Down
Loading