mirror of
https://github.com/docmost/docmost.git
synced 2025-11-14 01:01:12 +10:00
cleanup
This commit is contained in:
@ -8,10 +8,8 @@ import {
|
||||
CreateDateColumn,
|
||||
UpdateDateColumn,
|
||||
DeleteDateColumn,
|
||||
OneToOne,
|
||||
} from 'typeorm';
|
||||
import { Workspace } from '../../workspace/entities/workspace.entity';
|
||||
import { Page } from './page.entity';
|
||||
|
||||
@Entity('page_ordering')
|
||||
@Unique(['entityId', 'entityType'])
|
||||
|
||||
@ -50,11 +50,6 @@ export class PageOrderingService {
|
||||
manager,
|
||||
);
|
||||
|
||||
console.log(movedPageId);
|
||||
console.log(workspaceOrdering.childrenIds);
|
||||
console.log(dto.after);
|
||||
console.log(dto.before);
|
||||
|
||||
orderPageList(workspaceOrdering.childrenIds, dto);
|
||||
|
||||
console.log(workspaceOrdering.childrenIds);
|
||||
|
||||
Reference in New Issue
Block a user