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