Skip to content

Commit ce2cc3f

Browse files
remove console.log
1 parent eff6027 commit ce2cc3f

File tree

3 files changed

+1
-20
lines changed

3 files changed

+1
-20
lines changed

app/src/components/threads/Editor.vue

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ const uploadFile = async (file: File) => {
131131
method: 'post',
132132
body: formData
133133
})
134-
console.log(error.value)
135134
if (error.value) {
136135
$q.notify({
137136
message: 'Impossible d\'envoyer le fichier',
@@ -155,7 +154,6 @@ const emailReponse = (data: MailinfoPartDto) => {
155154
mailInfo.value.from = data.to[0].address
156155
mailInfo.value.subject = data.subject.startsWith('Re:') ? data.subject : `Re:${data.subject}`
157156
isFullscreen.value = true
158-
console.log(data)
159157
}
160158
161159
const removeAttachment = (id: string) => {
@@ -213,20 +211,6 @@ const sendMessage = (type: ThreadType = ThreadType.OUTGOING) => {
213211
214212
const editorDefinitions = computed(() => (
215213
{
216-
// send: {
217-
// tip: 'Envoyer',
218-
// icon: 'mdi-send',
219-
// label: 'Envoyer',
220-
// handler: sendMessage
221-
// },
222-
attach: {
223-
tip: 'Joindre un fichier',
224-
icon: 'mdi-paperclip',
225-
label: 'Joindre un fichier',
226-
handler: () => {
227-
console.log('joindre')
228-
}
229-
},
230214
fullscreen: {
231215
tip: 'Plein écran',
232216
icon: isFullscreen.value ? 'mdi-fullscreen-exit' : 'mdi-fullscreen',

app/src/components/ticket/rightPanel.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ q-scroll-area(:style="{height: '100%'}")
1717
q-tooltip.text-body2 Imprimer
1818
q-btn(color="info" icon="mdi-content-save-all" @click="console.log('Save')" size="md" :disable="isDisabledTicket")
1919
q-tooltip.text-body2 Sauvegarder
20-
q-btn(color="red" icon="mdi-arrow-left" @click="console.log(router.go(-1))" size="md")
20+
q-btn(color="red" icon="mdi-arrow-left" @click="router.go(-1)" size="md")
2121
q-tooltip.text-body2 Retour
2222
q-card-section.text-right
2323
span.text-caption(v-if="countdown>0") Enregistrement des changements dans {{ countdown }}s
@@ -248,7 +248,6 @@ let timeoutId: NodeJS.Timeout
248248
let intervalId: NodeJS.Timeout
249249
250250
const updateData = (ticket: { field: string, value: IdnamePartDto | SlaPartDto | EntityPartDto[] | LifeStep }) => {
251-
console.log('ticket', ticket)
252251
clearTimeout(timeoutId)
253252
clearInterval(intervalId)
254253
if (ticket.field === 'envelope.senders') {
@@ -285,7 +284,6 @@ const updateData = (ticket: { field: string, value: IdnamePartDto | SlaPartDto |
285284
body: body.value
286285
})
287286
body.value = {}
288-
console.log('updated')
289287
emit('fetch:ticketData')
290288
}, 3000)
291289
}

service/src/tickets/thread/thread.controller.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ export class ThreadController extends AbstractController {
5656
fragments: thread.fragments.map((frag: FragmentPart) => {
5757
const fragment: FragmentPartDto & { filestorage?: { link?: string } } = { ...frag.toObject() }
5858
if (frag.disposition === FragmentType.FILE && frag.filestorage) {
59-
console.log('frag.filestorage', fragment)
6059
fragment.filestorage.link = '/' + ['core', 'filestorage', frag.filestorage.id, 'raw'].join('/') + '?' + [`signature=empty`].join('&')
6160
}
6261
return fragment

0 commit comments

Comments
 (0)