Lint
This commit is contained in:
parent
4d25f5e56d
commit
ce976c1108
|
@ -100,7 +100,7 @@ function changeMode(mode) {
|
||||||
function update(index, key, value) {
|
function update(index, key, value) {
|
||||||
const inner = {...props.modelValue};
|
const inner = {...props.modelValue};
|
||||||
if (key === 'comparator') {
|
if (key === 'comparator') {
|
||||||
var old = inner.ifs[index];
|
const old = inner.ifs[index];
|
||||||
inner.ifs[index] = {
|
inner.ifs[index] = {
|
||||||
field: old.field,
|
field: old.field,
|
||||||
comparator: value,
|
comparator: value,
|
||||||
|
@ -108,7 +108,6 @@ function update(index, key, value) {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
if (key === 'field') {
|
if (key === 'field') {
|
||||||
var old = inner.ifs[index];
|
|
||||||
inner.ifs[index] = {
|
inner.ifs[index] = {
|
||||||
field: value,
|
field: value,
|
||||||
comparator: null,
|
comparator: null,
|
||||||
|
|
|
@ -80,13 +80,13 @@
|
||||||
<div>
|
<div>
|
||||||
<ui-tabs v-model="activeMailTab" :entries="mailTabs" />
|
<ui-tabs v-model="activeMailTab" :entries="mailTabs" />
|
||||||
<f-editor v-if="activeMailTab === 0" id="mail_top" v-model="single.mail_top" name="mail_top" label="E-Mail-Teil 1" :rows="8" conditions required>
|
<f-editor v-if="activeMailTab === 0" id="mail_top" v-model="single.mail_top" name="mail_top" label="E-Mail-Teil 1" :rows="8" conditions required>
|
||||||
<template #conditions="{data, resolve}">
|
<template #conditions="{cData, resolve}">
|
||||||
<conditions-form id="mail_top_conditions" :single="single" :value="data" @save="resolve" />
|
<conditions-form id="mail_top_conditions" :single="single" :value="cData" @save="resolve" />
|
||||||
</template>
|
</template>
|
||||||
</f-editor>
|
</f-editor>
|
||||||
<f-editor v-if="activeMailTab === 1" id="mail_bottom" v-model="single.mail_bottom" name="mail_bottom" label="E-Mail-Teil 2" :rows="8" conditions required>
|
<f-editor v-if="activeMailTab === 1" id="mail_bottom" v-model="single.mail_bottom" name="mail_bottom" label="E-Mail-Teil 2" :rows="8" conditions required>
|
||||||
<template #conditions="{data, resolve}">
|
<template #conditions="{d, resolve}">
|
||||||
<conditions-form id="mail_bottom_conditions" :single="single" :value="data" @save="resolve" />
|
<conditions-form id="mail_bottom_conditions" :single="single" :value="d" @save="resolve" />
|
||||||
</template>
|
</template>
|
||||||
</f-editor>
|
</f-editor>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue