From 46c52e70fee7582f3f421232985199e4d3d32c8b Mon Sep 17 00:00:00 2001 From: "ravi.kadri10" Date: Sun, 21 Feb 2021 00:33:41 -0800 Subject: [PATCH 1/2] #1721 --- samples/react-list-items-menu/src/hooks/useList.ts | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/samples/react-list-items-menu/src/hooks/useList.ts b/samples/react-list-items-menu/src/hooks/useList.ts index fb4f19df5..c827ac46a 100644 --- a/samples/react-list-items-menu/src/hooks/useList.ts +++ b/samples/react-list-items-menu/src/hooks/useList.ts @@ -3,10 +3,7 @@ import "@pnp/sp/items"; import "@pnp/sp/lists"; import "@pnp/sp/webs"; -import { - sortBy, - uniqBy -} from "lodash"; +import { sortBy, uniqBy } from "lodash"; import moment from "moment"; import { sp } from "@pnp/sp"; @@ -56,12 +53,12 @@ export const useList = () => { 1000 `; - console.log('group',_viewXml ) + console.log("group", _viewXml); const _groupHeadersResults = await sp.web.lists .getById(listId) .renderListDataAsStream({ ViewXml: _viewXml }); - console.log(_groupHeadersResults.Row); + console.log(_groupHeadersResults.Row); //console.log("groups", _groupHeadersResults.Row); return uniqBy(_groupHeadersResults.Row, groupByField); }; From e508f83c2782a11918d7672763c28435366b3f5f Mon Sep 17 00:00:00 2001 From: Hugo Bernier Date: Tue, 23 Feb 2021 00:13:08 -0500 Subject: [PATCH 2/2] Fixed readme and updated solution version number --- samples/react-list-items-menu/README.md | 3 +++ samples/react-list-items-menu/config/package-solution.json | 2 +- samples/react-list-items-menu/package-lock.json | 2 +- samples/react-list-items-menu/package.json | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/samples/react-list-items-menu/README.md b/samples/react-list-items-menu/README.md index 8b66ca095..33176f671 100644 --- a/samples/react-list-items-menu/README.md +++ b/samples/react-list-items-menu/README.md @@ -45,6 +45,8 @@ The Web Part Use PnPjs library, Fluent-Ui-react components Solution|Author(s) --------|--------- 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 @@ -52,6 +54,7 @@ Version|Date|Comments -------|----|-------- 1.0.0|November 20, 2020|Initial release 1.0.1|February 18, 2021|Added support for metadata columns +1.0.2|February 21, 2021|Fixed `gulp build` issues ## Disclaimer diff --git a/samples/react-list-items-menu/config/package-solution.json b/samples/react-list-items-menu/config/package-solution.json index 7123ae726..5d7381b36 100644 --- a/samples/react-list-items-menu/config/package-solution.json +++ b/samples/react-list-items-menu/config/package-solution.json @@ -3,7 +3,7 @@ "solution": { "name": "react-list-items-menu-client-side-solution", "id": "8b4a758d-a968-4e7c-a949-b42e7dd5ad14", - "version": "1.0.1.0", + "version": "1.0.2.0", "includeClientSideAssets": true, "skipFeatureDeployment": true, "isDomainIsolated": false, diff --git a/samples/react-list-items-menu/package-lock.json b/samples/react-list-items-menu/package-lock.json index fd1f6f5de..e1638ad85 100644 --- a/samples/react-list-items-menu/package-lock.json +++ b/samples/react-list-items-menu/package-lock.json @@ -1,6 +1,6 @@ { "name": "react-list-items-menu", - "version": "0.0.1", + "version": "1.0.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/samples/react-list-items-menu/package.json b/samples/react-list-items-menu/package.json index 77c796a97..458a5b192 100644 --- a/samples/react-list-items-menu/package.json +++ b/samples/react-list-items-menu/package.json @@ -1,6 +1,6 @@ { "name": "react-list-items-menu", - "version": "1.0.1", + "version": "1.0.2", "private": true, "main": "lib/index.js", "engines": {