eslint corrections in mainbundle

This commit is contained in:
2024-11-14 16:46:07 +01:00
parent 2d6d2a1f58
commit 0454e5d758
14 changed files with 26 additions and 22 deletions

View File

@@ -127,7 +127,6 @@ import Modal from 'ChillMainAssets/vuejs/_components/Modal.vue';
import OnTheFlyCreate from './Create.vue';
import OnTheFlyPerson from 'ChillPersonAssets/vuejs/_components/OnTheFly/Person.vue';
import OnTheFlyThirdparty from 'ChillThirdPartyAssets/vuejs/_components/OnTheFly/ThirdParty.vue';
import { postThirdparty } from "ChillThirdPartyAssets/vuejs/_api/OnTheFly";
export default {
name: 'OnTheFly',
@@ -165,6 +164,8 @@ export default {
return 'btn-create';
case 'addContact':
return 'btn-tpchild';
default:
return '';
}
},
titleAction() {
@@ -177,6 +178,8 @@ export default {
return 'action.create';
case 'addContact':
return 'action.addContact';
default:
return '';
}
},
titleCreate() {
@@ -199,6 +202,8 @@ export default {
return this.titleCreate;
case 'addContact':
return 'onthefly.addContact.title';
default:
return '';
}
},
titleMessage() {
@@ -207,6 +212,8 @@ export default {
return 'action.redirect.' + this.type;
case 'thirdparty':
return 'action.redirect.' + this.type;
default:
return '';
}
},
buttonMessage() {

View File

@@ -8,7 +8,7 @@ const i18n = _createI18n( ontheflyMessages );
let containers = document.querySelectorAll('.onthefly-container');
containers.forEach((container) => {
/*exported app */
const app = createApp({
template: `<app :onTheFly="this.onTheFly" ></app>`,
data() {