@asaleh37/ui-base 1.2.23 → 1.2.25
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.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/administration/admin/PersonGrid.tsx +1 -1
- package/src/components/templates/attachment/AttachmentPanel.tsx +2 -2
- package/src/main.tsx +1 -1
package/package.json
CHANGED
|
@@ -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>
|
package/src/main.tsx
CHANGED
|
@@ -5,7 +5,7 @@ import { BaseApp } from "./components";
|
|
|
5
5
|
|
|
6
6
|
createRoot(document.getElementById("root")!).render(
|
|
7
7
|
<BaseApp
|
|
8
|
-
apiBaseUrl="http://localhost:8080/
|
|
8
|
+
apiBaseUrl="http://localhost:8080/api-base"
|
|
9
9
|
appLogo={"/public/logo.png"}
|
|
10
10
|
appName="UI Base Library"
|
|
11
11
|
appVersion="0.0"
|