@daeryun/dr_components 1.3.24 → 1.3.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -83,8 +83,10 @@ export interface ILawyerTypes {
83
83
  export interface IFieldTypes {
84
84
  idx: number;
85
85
  title_text: string;
86
- field_title: string;
86
+ field_title?: string;
87
87
  pathname: string;
88
+ domain?: string;
89
+ center_code?: string;
88
90
  }
89
91
  export interface IPnData {
90
92
  pre_idx: number | null;
@@ -89,8 +89,10 @@ export interface ILawyerTypes {
89
89
  export interface IFieldTypes {
90
90
  idx: number;
91
91
  title_text: string;
92
- field_title: string;
92
+ field_title?: string;
93
93
  pathname: string;
94
+ domain?: string;
95
+ center_code?: string;
94
96
  }
95
97
 
96
98
  export interface IPnData {
@@ -198,6 +198,9 @@ export function categoryMenuName({ url }) {
198
198
  else if (allUrl.includes('comp') && url.includes('/merit')) {
199
199
  return { title: '기업의뢰인을 위한 장점', subTitle: '', address: 'merit' };
200
200
  }
201
+ else if (allUrl.includes('trend') && url.includes('/trend')) {
202
+ return { title: '판결분석/최신동향', subTitle: '', address: 'trend' };
203
+ }
201
204
  else {
202
205
  return { title: '', subTitle: '', address: '/' };
203
206
  }
@@ -159,6 +159,8 @@ export function categoryMenuName({ url }: { url: string }): {
159
159
  return { title: '대륜소개', subTitle: '로펌 3.0', address: 'lawfirm' };
160
160
  } else if (allUrl.includes('comp') && url.includes('/merit')) {
161
161
  return { title: '기업의뢰인을 위한 장점', subTitle: '', address: 'merit' };
162
+ } else if (allUrl.includes('trend') && url.includes('/trend')) {
163
+ return { title: '판결분석/최신동향', subTitle: '', address: 'trend' };
162
164
  } else {
163
165
  return { title: '', subTitle: '', address: '/' };
164
166
  }