Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(sheets): bugfix for freeze & hover-manager-service & data-validation #2233

Merged
merged 12 commits into from
May 15, 2024
Prev Previous commit
Next Next commit
fix: error when delete worksheet
  • Loading branch information
weird94 committed May 14, 2024
commit f3db37e199f1a1a127dd28c0be7ad941aee3c72d
2 changes: 1 addition & 1 deletion packages/sheets-data-validation/src/views/list/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function DataValidationListWithWorkbook(props: { workbook: Workbook }) {
const { workbook } = props;
const worksheet = useObservable(workbook.activeSheet$, undefined, true)!;
const unitId = workbook.getUnitId();
const subUnitId = worksheet.getSheetId();
const subUnitId = worksheet?.getSheetId();
const manager = dataValidationModel.ensureManager(unitId, subUnitId);

useEffect(() => {
Expand Down
Loading