@asaleh37/ui-base 1.2.23 → 1.2.24

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asaleh37/ui-base",
3
- "version": "1.2.23",
3
+ "version": "1.2.24",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "author": "Ahmed Saleh Mohamed",
@@ -144,7 +144,7 @@ const AttachmentPanel: React.FC<AttachmentPanelProps> = (props) => {
144
144
  !isUserAuthorized(attachmentConfig?.downloadAuthorityKey)
145
145
  ) {
146
146
  showAttachments = false;
147
- }
147
+ }
148
148
  let allowUpload = true;
149
149
  if (props?.enableAttachment === false) {
150
150
  allowUpload = false;
@@ -172,7 +172,7 @@ const AttachmentPanel: React.FC<AttachmentPanelProps> = (props) => {
172
172
  <>
173
173
  {attachmentConfig?.maxAllowedNumberOfFiles === undefined ||
174
174
  attachmentConfig?.maxAllowedNumberOfFiles === null ||
175
- attachmentConfig?.maxAllowedNumberOfFiles <
175
+ attachmentConfig?.maxAllowedNumberOfFiles >
176
176
  attachmentConfig.refKeyAttachments.length ? (
177
177
  <>
178
178
  <h3>