mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 15:13:50 +00:00
eslint corrections in mainbundle
This commit is contained in:
@@ -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() {
|
||||
|
@@ -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() {
|
||||
|
Reference in New Issue
Block a user