@fileverse-dev/ddoc 2.1.3-patch-15 → 2.1.3-patch-16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +5 -4
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
@@ -95943,7 +95943,7 @@ const Tee = async (t, e) => {
|
|
95943
95943
|
}, ee = (Ee) => {
|
95944
95944
|
Ee.key === "Enter" && !Ee.shiftKey && (Ee.preventDefault(), De());
|
95945
95945
|
}, De = () => {
|
95946
|
-
if (!R.trim()) return;
|
95946
|
+
if (!R.trim() || !i) return;
|
95947
95947
|
const Ee = {
|
95948
95948
|
id: `comment-${Sm()}`,
|
95949
95949
|
username: i,
|
@@ -96977,7 +96977,7 @@ const jee = (t) => t && (t.length > 20 ? t.slice(0, 5) + "..." + t.slice(t.lengt
|
|
96977
96977
|
const ge = oe.target.value;
|
96978
96978
|
c(ge);
|
96979
96979
|
}, V = () => {
|
96980
|
-
a.trim() && (m(a), h(!0), q == null || q());
|
96980
|
+
a.trim() && k && (m(a), h(!0), q == null || q());
|
96981
96981
|
}, Y = () => {
|
96982
96982
|
const oe = {
|
96983
96983
|
id: `reply-${Sm()}`,
|
@@ -97020,6 +97020,7 @@ const jee = (t) => t && (t.length > 20 ? t.slice(0, 5) + "..." + t.slice(t.lengt
|
|
97020
97020
|
bn,
|
97021
97021
|
{
|
97022
97022
|
onClick: V,
|
97023
|
+
disabled: !k,
|
97023
97024
|
className: "px-4 py-2 w-20 min-w-20 h-9 font-medium text-sm bg-black rounded",
|
97024
97025
|
children: "Send"
|
97025
97026
|
}
|
@@ -97134,7 +97135,7 @@ const jee = (t) => t && (t.length > 20 ? t.slice(0, 5) + "..." + t.slice(t.lengt
|
|
97134
97135
|
{
|
97135
97136
|
onClick: Y,
|
97136
97137
|
className: "px-4 py-2 w-20 min-w-20 h-9",
|
97137
|
-
disabled: (v == null ? void 0 : v.resolved) || !l.trim(),
|
97138
|
+
disabled: (v == null ? void 0 : v.resolved) || !l.trim() || !k,
|
97138
97139
|
children: "Send"
|
97139
97140
|
}
|
97140
97141
|
) })
|
@@ -146544,7 +146545,7 @@ const t_ = ({
|
|
146544
146545
|
{
|
146545
146546
|
onClick: w,
|
146546
146547
|
className: "px-4 py-2 w-20 min-w-20 h-9",
|
146547
|
-
disabled: !k.trim(),
|
146548
|
+
disabled: !k.trim() || !s,
|
146548
146549
|
children: "Send"
|
146549
146550
|
}
|
146550
146551
|
) })
|