mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
fix compilation errors
This commit is contained in:
parent
b8b325f7d7
commit
cf41fa9574
@ -1,12 +1,8 @@
|
||||
<template>
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<ckeditor
|
||||
name="content"
|
||||
:placeholder="$t('add_comment.content')"
|
||||
:editor="editor"
|
||||
<comment-editor
|
||||
v-model="content"
|
||||
tag-name="textarea"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
@ -15,8 +11,7 @@
|
||||
<script lang="ts">
|
||||
import { defineComponent, ref, watch } from "vue";
|
||||
|
||||
import CKEditor from "@ckeditor/ckeditor5-vue";
|
||||
import ClassicEditor from "../../../../../../../ChillMainBundle/Resources/public/module/ckeditor5/editor_config";
|
||||
import CommentEditor from "ChillMainAssets/vuejs/_components/CommentEditor/CommentEditor.vue"
|
||||
|
||||
export default defineComponent({
|
||||
name: "AddCommentComponent",
|
||||
@ -27,7 +22,7 @@ export default defineComponent({
|
||||
},
|
||||
},
|
||||
components: {
|
||||
ckeditor: CKEditor.component,
|
||||
CommentEditor,
|
||||
},
|
||||
emits: ["update:modelValue"],
|
||||
|
||||
@ -40,7 +35,6 @@ export default defineComponent({
|
||||
|
||||
return {
|
||||
content,
|
||||
editor: ClassicEditor,
|
||||
};
|
||||
},
|
||||
});
|
||||
|
@ -96,7 +96,7 @@ import {
|
||||
} from "ChillMainAssets/types";
|
||||
|
||||
// Components
|
||||
import AddPersons from "ChillPersonAssets/Resources/public/vuejs/_components/AddPersons.vue";
|
||||
import AddPersons from "ChillPersonAssets/vuejs/_components/AddPersons.vue";
|
||||
|
||||
export default defineComponent({
|
||||
name: "AddresseeSelectorComponent",
|
||||
@ -205,7 +205,7 @@ export default defineComponent({
|
||||
) as UserGroup[];
|
||||
const users = addressees.value.filter(
|
||||
(addressee) => addressee.type == "user",
|
||||
) as UserGroup[];
|
||||
) as User[];
|
||||
addressees.value = [...users, ...userGroupLevel, ...userGroupAdd];
|
||||
ctx.emit("update:modelValue", addressees.value);
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user