Skip to content

Commit 7bd89aa

Browse files
author
Ruslan Farkhutdinov
committed
Chat: Set mock empty file size to 10KB
1 parent 682b452 commit 7bd89aa

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

apps/demos/Demos/Chat/FileAttachments/jQuery/data.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const createEmptyAttachment = (name, type) => {
2323
return {
2424
name,
2525
url,
26-
size: 0,
26+
size: 1024 * 10,
2727
};
2828
};
2929

@@ -54,9 +54,3 @@ const messages = [
5454
attachments: [instructions],
5555
},
5656
];
57-
58-
const editingOptions = [
59-
{ text: 'Enabled', key: 'enabled' },
60-
{ text: 'Disabled', key: 'disabled' },
61-
{ text: 'Only the last message (custom)', key: 'custom' },
62-
];

apps/demos/menuMeta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4113,7 +4113,7 @@
41134113
},
41144114
{
41154115
"Name": "File Attachments",
4116-
"Equivalents": "Files Sending, Messages with files, Files Attached, Message Attachments, Document Attachments",
4116+
"Equivalents": "Files Sending, Messages with files, Files Attached, Message Attachments, Document Attachments",
41174117
"Demos": [
41184118
{
41194119
"Title": "File Attachments",

0 commit comments

Comments
 (0)