@careevolution/mydatahelps-ui 2.87.2-DocumentLibrary.6 → 2.87.2-DocumentLibrary.7
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/browser/index.js +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/esm/index.js +1 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -133066,7 +133066,7 @@ function DocumentLibraryPreview(props) {
|
|
|
133066
133066
|
return;
|
|
133067
133067
|
}
|
|
133068
133068
|
createAllLibraryDocumentsLoader(props.previewState).load(props.surveySpecification).then(documents => {
|
|
133069
|
-
setDocuments(documents.sort(createLibraryDocumentSorter('
|
|
133069
|
+
setDocuments(documents.sort(createLibraryDocumentSorter('date', 'desc')));
|
|
133070
133070
|
});
|
|
133071
133071
|
}, [], [props.previewState]);
|
|
133072
133072
|
if (!documents)
|
package/dist/esm/index.js
CHANGED
|
@@ -133046,7 +133046,7 @@ function DocumentLibraryPreview(props) {
|
|
|
133046
133046
|
return;
|
|
133047
133047
|
}
|
|
133048
133048
|
createAllLibraryDocumentsLoader(props.previewState).load(props.surveySpecification).then(documents => {
|
|
133049
|
-
setDocuments(documents.sort(createLibraryDocumentSorter('
|
|
133049
|
+
setDocuments(documents.sort(createLibraryDocumentSorter('date', 'desc')));
|
|
133050
133050
|
});
|
|
133051
133051
|
}, [], [props.previewState]);
|
|
133052
133052
|
if (!documents)
|