Skip to content

Commit aecf3c0

Browse files
committed
changes for loading icon
1 parent 7290e07 commit aecf3c0

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

desk/src/components/CommentTextEditor.vue

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,11 @@
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

desk/src/components/EmailEditor.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,12 +106,11 @@
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";
190189
import { useOnboarding } from "frappe-ui/frappe";
191190
import { computed, nextTick, ref } from "vue";
191+
import func from "../../../vue-temp/vue-editor-bridge";
192192
193193
const editorRef = ref(null);
194194
const showCannedResponseSelectorModal = ref(false);

0 commit comments

Comments
 (0)