Add options for opening links in newTab or modals on WF prompts
This commit is contained in:
committed by
Mumbi Francis
parent
eb9cce2428
commit
dd98df564c
@@ -148,7 +148,7 @@ export default (options = {}) => {
|
||||
break
|
||||
|
||||
case 'error':
|
||||
console.error('websocket message with error', msg['@value'])
|
||||
this.toastDanger('Websocket message with error', msg['@value'])
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
@@ -154,7 +154,7 @@ export default (options = {}) => {
|
||||
break
|
||||
|
||||
case 'error':
|
||||
console.error('websocket message with error', msg['@value'])
|
||||
this.toastDanger('Websocket message with error', msg['@value'])
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
@@ -96,7 +96,7 @@ export default (options = {}) => {
|
||||
break
|
||||
|
||||
case 'error':
|
||||
console.error('websocket message with error', msg['@value'])
|
||||
this.toastDanger('Websocket message with error', msg['@value'])
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
@@ -132,7 +132,7 @@
|
||||
@input="$root.$emit('change-detected')"
|
||||
@search="searchWorkflows"
|
||||
/>
|
||||
|
||||
<!-- Clearable -->
|
||||
<c-input-select
|
||||
v-else-if="a.input.type === 'select'"
|
||||
v-model="a.value"
|
||||
@@ -142,6 +142,7 @@
|
||||
:filter="varFilter"
|
||||
:reduce="a => a.value"
|
||||
:placeholder="$t('steps:function.configurator.option-select')"
|
||||
:clearable="false"
|
||||
@input="$root.$emit('change-detected')"
|
||||
/>
|
||||
|
||||
@@ -520,7 +521,7 @@ export default {
|
||||
target: param.name,
|
||||
type: arg.type || this.paramTypes[func.ref][param.name][0],
|
||||
valueType: this.getValueType(arg, arg.type || this.paramTypes[func.ref][param.name][0], input),
|
||||
value: arg.value || null,
|
||||
value: arg.value || input.default || null,
|
||||
expr: arg.expr || arg.source || null,
|
||||
required: param.required || false,
|
||||
input,
|
||||
|
||||
Reference in New Issue
Block a user