@appcorp/fusion-storybook 0.1.62 → 0.1.63

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -86,22 +86,22 @@ export const useWorkspaceUserModule = () => {
86
86
  // ============================================================================
87
87
  // API PARAMETERS
88
88
  // ============================================================================
89
- const listParams = useMemo(() => (Object.assign(Object.assign({ currentPage: state.currentPage, pageLimit: state.pageLimit, workspaceId: state.workspaceId }, (debouncedQuery ? { searchQuery: debouncedQuery } : {})), (state.filterEnabled !== undefined
89
+ const listParams = useMemo(() => (Object.assign(Object.assign({ currentPage: state.currentPage, pageLimit: state.pageLimit, workspaceId: workspace === null || workspace === void 0 ? void 0 : workspace.id }, (debouncedQuery ? { searchQuery: debouncedQuery } : {})), (state.filterEnabled !== undefined
90
90
  ? { filterEnabled: String(state.filterEnabled) }
91
91
  : {}))), [
92
92
  state.currentPage,
93
93
  state.filterEnabled,
94
94
  state.pageLimit,
95
95
  debouncedQuery,
96
- state.workspaceId,
96
+ workspace === null || workspace === void 0 ? void 0 : workspace.id,
97
97
  ]);
98
98
  const updateParams = useMemo(() => ({
99
99
  enabled: state.enabled,
100
100
  id: state.id,
101
101
  roleId: state.roleId,
102
102
  userId: state.userId,
103
- workspaceId: state.workspaceId,
104
- }), [state.enabled, state.id, state.roleId, state.userId, state.workspaceId]);
103
+ workspaceId: workspace === null || workspace === void 0 ? void 0 : workspace.id,
104
+ }), [state.enabled, state.id, state.roleId, state.userId, workspace === null || workspace === void 0 ? void 0 : workspace.id]);
105
105
  const byIdParams = useMemo(() => ({ id: state.id }), [state.id]);
106
106
  const deleteParams = useMemo(() => ({ id: state.id }), [state.id]);
107
107
  // ============================================================================
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appcorp/fusion-storybook",
3
- "version": "0.1.62",
3
+ "version": "0.1.63",
4
4
  "scripts": {
5
5
  "build-storybook": "storybook build",
6
6
  "build:next": "next build",