Commit Graph

9 Commits

Author SHA1 Message Date
Abhishek Garg a4c26fc25d Use 'slice' instead of 'splice'
Replace 'splice' with 'slice' method for common implementation (same as in search)
2020-06-22 18:05:27 +05:30
Abhishek Garg 4934ccb866 Bit of cleanup
No need to update 'items' in case of error, only 'pagedItems' is enough.
Use local variable 'items' instead of using from 'this.state'.
2020-06-22 18:05:27 +05:30
Abhishek Garg 888c7f439e Fix state change on search
Update both 'items' and 'pagedItems' on search event, to have the latest copy/reference
2020-06-22 18:05:27 +05:30
Abhishek Garg 3da742ed5f Fix paging implementation
Use 'items' instead of 'listItems' for paging as it'll always have updated data, ex on search
2020-06-22 18:05:27 +05:30
Abhishek Garg 0f83eb3ca0 Rename constant to 'pagedItems'
Rename constant to 'pagedItems' for clarity
2020-06-22 18:05:27 +05:30
Abhishek Garg 1bf9fa7d50 Replace 'items' with 'pagedItems'
Replace with 'pagedItems' everywhere, as that will have the correct items per page
2020-06-22 18:05:27 +05:30
Abhishek Garg 6f1c73f6f2 Add new property 'pagedItems'
Add property 'pagedItems' to type 'IReactAccordionState'
2020-06-22 18:05:27 +05:30
Neelamugilan Gobalakrishnan daa3dc6274 Upgrade react accordion to SPFx 1.10 2020-01-19 23:45:43 +00:00
Gautam Sheth 4a47af2d14 SPFx React Accordion sample (#599)
* React Accordion Webpart added

* Updated to imgur image url
2018-09-10 13:06:51 +03:00