Merge pull request #1726 from Ravikadri/master

This commit is contained in:
Hugo Bernier 2021-02-23 00:14:14 -05:00 committed by GitHub
commit ba1f260ce1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 9 additions and 9 deletions

View File

@ -45,6 +45,8 @@ The Web Part Use PnPjs library, Fluent-Ui-react components
Solution|Author(s) Solution|Author(s)
--------|--------- --------|---------
React List Items Menu |[João Mendes](https://github.com/joaojmendes) ([@joaojmendes](https://twitter.com/joaojmendes)) React List Items Menu |[João Mendes](https://github.com/joaojmendes) ([@joaojmendes](https://twitter.com/joaojmendes))
React List Items Menu |[Ravi Chandra](https://github.com/Ravikadri)
## Version history ## Version history
@ -52,6 +54,7 @@ Version|Date|Comments
-------|----|-------- -------|----|--------
1.0.0|November 20, 2020|Initial release 1.0.0|November 20, 2020|Initial release
1.0.1|February 18, 2021|Added support for metadata columns 1.0.1|February 18, 2021|Added support for metadata columns
1.0.2|February 21, 2021|Fixed `gulp build` issues
## Disclaimer ## Disclaimer

View File

@ -3,7 +3,7 @@
"solution": { "solution": {
"name": "react-list-items-menu-client-side-solution", "name": "react-list-items-menu-client-side-solution",
"id": "8b4a758d-a968-4e7c-a949-b42e7dd5ad14", "id": "8b4a758d-a968-4e7c-a949-b42e7dd5ad14",
"version": "1.0.1.0", "version": "1.0.2.0",
"includeClientSideAssets": true, "includeClientSideAssets": true,
"skipFeatureDeployment": true, "skipFeatureDeployment": true,
"isDomainIsolated": false, "isDomainIsolated": false,

View File

@ -1,6 +1,6 @@
{ {
"name": "react-list-items-menu", "name": "react-list-items-menu",
"version": "0.0.1", "version": "1.0.1",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View File

@ -1,6 +1,6 @@
{ {
"name": "react-list-items-menu", "name": "react-list-items-menu",
"version": "1.0.1", "version": "1.0.2",
"private": true, "private": true,
"main": "lib/index.js", "main": "lib/index.js",
"engines": { "engines": {

View File

@ -3,10 +3,7 @@ import "@pnp/sp/items";
import "@pnp/sp/lists"; import "@pnp/sp/lists";
import "@pnp/sp/webs"; import "@pnp/sp/webs";
import { import { sortBy, uniqBy } from "lodash";
sortBy,
uniqBy
} from "lodash";
import moment from "moment"; import moment from "moment";
import { sp } from "@pnp/sp"; import { sp } from "@pnp/sp";
@ -56,7 +53,7 @@ export const useList = () => {
<RowLimit>1000</RowLimit> <RowLimit>1000</RowLimit>
</View>`; </View>`;
console.log('group',_viewXml ) console.log("group", _viewXml);
const _groupHeadersResults = await sp.web.lists const _groupHeadersResults = await sp.web.lists
.getById(listId) .getById(listId)
.renderListDataAsStream({ ViewXml: _viewXml }); .renderListDataAsStream({ ViewXml: _viewXml });