Skip to content

Commit

Permalink
fix sentry crash
Browse files Browse the repository at this point in the history
  • Loading branch information
ra3orblade committed Apr 26, 2024
1 parent 5606290 commit 14e59e6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/ts/component/block/dataview/view/board/column.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,12 @@ const Column = observer(class Column extends React.Component<Props> {
const { id, block, isCollection, getView, getKeys, getSubId, applyObjectOrder, getLimit, getTarget, getSearchIds } = this.props;
const object = getTarget();
const view = getView();
if (!view) {
return;
};

const relation = dbStore.getRelationByKey(view.groupRelationKey);

if (!relation || !view) {
if (!relation) {
return;
};

Expand Down

0 comments on commit 14e59e6

Please sign in to comment.