[WIKI-576] fix: trail node (#7527)
* fix : trail node * remove flagged * refactor : add disable flagging * refactor:update disabled extension * refactor: additional disabled * refactor: update enum * chore: add description key to page response type * chore: update base page instance --------- Co-authored-by: Aaryan Khandelwal <aaryankhandu123@gmail.com>
This commit is contained in:
parent
c3273b1a85
commit
fa150c2b47
8 changed files with 70 additions and 19 deletions
|
|
@ -78,6 +78,7 @@ export class BasePage extends ExtendedBasePage implements TBasePage {
|
|||
id: string | undefined;
|
||||
name: string | undefined;
|
||||
logo_props: TLogoProps | undefined;
|
||||
description: object | undefined;
|
||||
description_html: string | undefined;
|
||||
color: string | undefined;
|
||||
label_ids: string[] | undefined;
|
||||
|
|
@ -113,6 +114,7 @@ export class BasePage extends ExtendedBasePage implements TBasePage {
|
|||
this.id = page?.id || undefined;
|
||||
this.name = page?.name;
|
||||
this.logo_props = page?.logo_props || undefined;
|
||||
this.description = page?.description || undefined;
|
||||
this.description_html = page?.description_html || undefined;
|
||||
this.color = page?.color || undefined;
|
||||
this.label_ids = page?.label_ids || undefined;
|
||||
|
|
@ -136,6 +138,7 @@ export class BasePage extends ExtendedBasePage implements TBasePage {
|
|||
id: observable.ref,
|
||||
name: observable.ref,
|
||||
logo_props: observable.ref,
|
||||
description: observable,
|
||||
description_html: observable.ref,
|
||||
color: observable.ref,
|
||||
label_ids: observable,
|
||||
|
|
@ -208,6 +211,7 @@ export class BasePage extends ExtendedBasePage implements TBasePage {
|
|||
return {
|
||||
id: this.id,
|
||||
name: this.name,
|
||||
description: this.description,
|
||||
description_html: this.description_html,
|
||||
color: this.color,
|
||||
label_ids: this.label_ids,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue