mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-25 18:26:05 +08:00
fix(editor): clicking the sorting button results in an error (#10800)
This commit is contained in:
@@ -169,8 +169,7 @@ export class DatabaseHeaderColumn extends SignalWatcher(
|
||||
|
||||
const sortUtils = createSortUtils(
|
||||
sortTrait,
|
||||
this.closest('affine-data-view-renderer')?.view?.expose.eventTrace ??
|
||||
(() => {})
|
||||
this.closest('affine-data-view-renderer')?.view?.eventTrace ?? (() => {})
|
||||
);
|
||||
const sortList = sortUtils.sortList$.value;
|
||||
const existingIndex = sortList.findIndex(
|
||||
|
||||
Reference in New Issue
Block a user