Skip to content

Commit ad7b739

Browse files
committed
adding button changes
1 parent 467b35a commit ad7b739

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

desk/auto-imports.d.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/* eslint-disable */
2+
/* prettier-ignore */
3+
// @ts-nocheck
4+
// noinspection JSUnusedGlobalSymbols
5+
// Generated by unplugin-auto-import
6+
// biome-ignore lint: disable
7+
export {}
8+
declare global {
9+
10+
}

desk/src/components/EmailEditor.vue

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,11 @@
106106
}
107107
"
108108
>
109-
<template #default="{ openFileSelector }">
110-
<Button variant="ghost" @click="openFileSelector()">
109+
<template #default="{ openFileSelector, uploading }">
110+
<Button variant="ghost"
111+
@click="openFileSelector()"
112+
:disabled="uploading"
113+
:loading="uploading">
111114
<template #icon>
112115
<AttachmentIcon
113116
class="h-4"
@@ -185,6 +188,7 @@ import {
185188
} from "frappe-ui";
186189
import { useOnboarding } from "frappe-ui/frappe";
187190
import { computed, nextTick, ref } from "vue";
191+
import func from "../../../vue-temp/vue-editor-bridge";
188192
189193
const editorRef = ref(null);
190194
const showCannedResponseSelectorModal = ref(false);

0 commit comments

Comments
 (0)