Skip to content

Commit

Permalink
Merge pull request #1221 from NicoPennec/fix/status-automations
Browse files Browse the repository at this point in the history
Fix add Status Automation form
  • Loading branch information
NicoPennec authored Oct 17, 2023
2 parents 5faefd4 + 95cbc69 commit 9e5a117
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/modals/EditStatusAutomationModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export default {
],
form: {
entityType: 'asset',
mode: 'status',
outFieldType: 'status',
inEntityTaskTypes: [],
outEntityTaskTypes: [],
inTaskTypeId: '',
Expand All @@ -197,7 +197,7 @@ export default {
setTaskTypes(fieldType) {
if (fieldType === 'asset') {
this.form.inEntityTaskTypes = this.assetTaskTypes
if (this.mode === 'status') {
if (this.form.outFieldType === 'status') {
this.form.outEntityTaskTypes = this.assetTaskTypes
} else {
this.form.outEntityTaskTypes = this.shotTaskTypes
Expand Down

0 comments on commit 9e5a117

Please sign in to comment.