Merge pull request #1726 from Ravikadri/master
This commit is contained in:
commit
ba1f260ce1
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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": {
|
||||||
|
|
|
@ -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": {
|
||||||
|
|
|
@ -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 });
|
||||||
|
|
Loading…
Reference in New Issue