bhd-components 0.10.27 → 0.10.28
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.esm.es5.development.js +1 -1
- package/dist/index.esm.es5.production.js +1 -1
- package/dist/vendor.esm.es5.development.js +1 -1
- package/dist/vendor.esm.es5.production.js +1 -1
- package/es2017/AIMessageList/components/virtuosoList/index.js +1 -1
- package/esm/AIMessageList/components/virtuosoList/index.js +1 -1
- package/package.json +1 -1
|
@@ -397,7 +397,7 @@ const VirtuosoList = /*#__PURE__*/ forwardRef((props, ref)=>{
|
|
|
397
397
|
};
|
|
398
398
|
const renderAction = (location, item)=>{
|
|
399
399
|
if (item.id === "inputing" || item.id === "helloMsg" || item.id === recordRef.current.sendingId || item.hideAction) {
|
|
400
|
-
if (location === "floatBottom") {
|
|
400
|
+
if (location === "floatBottom" || location === "floatTop") {
|
|
401
401
|
return /*#__PURE__*/ _jsx("div", {
|
|
402
402
|
className: `${getCls("msgItem-action-empty")}`
|
|
403
403
|
});
|
|
@@ -405,7 +405,7 @@ var VirtuosoList = /*#__PURE__*/ forwardRef(function(props, ref) {
|
|
|
405
405
|
};
|
|
406
406
|
var renderAction = function(location, item) {
|
|
407
407
|
if (item.id === "inputing" || item.id === "helloMsg" || item.id === recordRef.current.sendingId || item.hideAction) {
|
|
408
|
-
if (location === "floatBottom") {
|
|
408
|
+
if (location === "floatBottom" || location === "floatTop") {
|
|
409
409
|
return /*#__PURE__*/ _jsx("div", {
|
|
410
410
|
className: "".concat(getCls("msgItem-action-empty"))
|
|
411
411
|
});
|