File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed
Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change 5151 }"
5252 @success =" (f) => attachments.push(f)"
5353 >
54- <template #default =" { openFileSelector , uploading , progress } " >
54+ <template #default =" { openFileSelector } " >
5555 <Button
5656 theme =" gray"
5757 variant =" ghost"
5858 @click =" openFileSelector()"
59- :disabled =" uploading"
60- :loading =" uploading"
61- :loadingText =" uploading ? `Uploading (${progress}%)` : null"
6259 >
6360 <template #icon >
6461 <AttachmentIcon
Original file line number Diff line number Diff line change 106106 }
107107 "
108108 >
109- <template #default =" { openFileSelector , uploading , progress } " >
109+ <template #default =" { openFileSelector , uploading } " >
110110 <Button variant =" ghost"
111- @click =" openFileSelector()"
111+ @click =" openFileSelector()"
112112 :disabled =" uploading"
113- :loading =" uploading"
114- :loadingText =" uploading ? `Uploading (${progress}%)` : null" >
113+ :loading =" uploading" >
115114 <template #icon >
116115 <AttachmentIcon
117116 class =" h-4"
@@ -189,6 +188,7 @@ import {
189188} from " frappe-ui" ;
190189import { useOnboarding } from " frappe-ui/frappe" ;
191190import { computed , nextTick , ref } from " vue" ;
191+ import func from " ../../../vue-temp/vue-editor-bridge" ;
192192
193193const editorRef = ref (null );
194194const showCannedResponseSelectorModal = ref (false );
You can’t perform that action at this time.
0 commit comments