Skip to content

Commit

Permalink
fix/selection storage (#3)
Browse files Browse the repository at this point in the history
* fix: selection-storage when freeze

* 0.1.15

* 0.1.16

* 0.1.17

* chore: update version

* chore: update globalPackageId
Niko030303 authored Apr 23, 2023
1 parent c2ec48c commit 722cba3
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.1.9",
"version": "0.1.14",
"description": "a apitable widget",
"engines": {
"node": ">=8.x"
2 changes: 1 addition & 1 deletion src/components/chart/chart.tsx
Original file line number Diff line number Diff line change
@@ -59,7 +59,7 @@ export const View: React.FC<IViewProps> = (props) => {
);
const colors = useThemeColors()
// Define the recordindex and selection state on the individual
const [individualSelection, setIndividualSelection] = useState(currSelection);
const [individualSelection, setIndividualSelection] = useCloudStorage("individualSelection", currSelection);
const [recordsLength, setRecordsLength] = useState(
selection?.recordIds.length || 0
);
4 changes: 2 additions & 2 deletions widget.config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"packageId": "wpkEWW8qi7VVJ",
"spaceId": "spcHplbCBkD4G",
"packageId": "wpkLjXGVt5eqo",
"spaceId": "spclej85jXYck",
"entry": "./src/index.tsx",
"name": {
"zh-CN": "漏斗图",

0 comments on commit 722cba3

Please sign in to comment.