fixbug: [issue76]when click activities button, throw error;

This commit is contained in:
mitsuha 2022-08-04 18:39:01 +08:00
parent 9ec41c013b
commit f0713400d0
2 changed files with 1 additions and 3 deletions

View File

@ -70,8 +70,6 @@ export const Activities = () => {
return; return;
} }
console.log('不执行吗');
const RecentEditPages = const RecentEditPages =
(await services.api.userConfig.getRecentEditedPages( (await services.api.userConfig.getRecentEditedPages(
currentSpaceId currentSpaceId

View File

@ -3,7 +3,7 @@ import { ServiceBaseClass } from '../base';
import { ObserveCallback, ReturnUnobserve } from '../database'; import { ObserveCallback, ReturnUnobserve } from '../database';
import { PageTree } from './page-tree'; import { PageTree } from './page-tree';
import { PageConfigItem } from './types'; import { PageConfigItem } from './types';
import { QueryIndexMetadata } from '@toeverything/datasource/jwt'; import type { QueryIndexMetadata } from '@toeverything/datasource/jwt';
/** Operate the user configuration at the workspace level */ /** Operate the user configuration at the workspace level */
export class UserConfig extends ServiceBaseClass { export class UserConfig extends ServiceBaseClass {