@daeryun/dr_components 1.2.44 → 1.2.47
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.
|
@@ -9,7 +9,7 @@ const CategoryComponent = (props) => {
|
|
|
9
9
|
const linkString = (id, pathname) => {
|
|
10
10
|
let link = '';
|
|
11
11
|
if (isApp) {
|
|
12
|
-
`/${pathname}`;
|
|
12
|
+
link = `/${pathname}`;
|
|
13
13
|
}
|
|
14
14
|
else if (selectedCenter.code_desc === currentCenterTitle && !allMainCenterTargetBlank) {
|
|
15
15
|
link = `/${pathname}`;
|
|
@@ -41,7 +41,7 @@ const CategoryComponent = (props) => {
|
|
|
41
41
|
//900px
|
|
42
42
|
'max-md2:rounded-none max-md2:border-0' +
|
|
43
43
|
//520px
|
|
44
|
-
'max-2sm:px-[10px] '} target={selectedCenter.code_desc === currentCenterTitle && !allMainCenterTargetBlank
|
|
44
|
+
'max-2sm:px-[10px] '} target={(selectedCenter.code_desc === currentCenterTitle && !allMainCenterTargetBlank) || isApp
|
|
45
45
|
? '_self'
|
|
46
46
|
: '_blank'}>
|
|
47
47
|
<p className={'text-left text-[18px] tracking-[-1px] text-[#4B4B4B] ' +
|
|
@@ -33,7 +33,7 @@ const CategoryComponent = (props: {
|
|
|
33
33
|
let link = '';
|
|
34
34
|
|
|
35
35
|
if (isApp) {
|
|
36
|
-
`/${pathname}`;
|
|
36
|
+
link = `/${pathname}`;
|
|
37
37
|
} else if (selectedCenter.code_desc === currentCenterTitle && !allMainCenterTargetBlank) {
|
|
38
38
|
link = `/${pathname}`;
|
|
39
39
|
} else {
|
|
@@ -81,7 +81,7 @@ const CategoryComponent = (props: {
|
|
|
81
81
|
'max-2sm:px-[10px] '
|
|
82
82
|
}
|
|
83
83
|
target={
|
|
84
|
-
selectedCenter.code_desc === currentCenterTitle && !allMainCenterTargetBlank
|
|
84
|
+
(selectedCenter.code_desc === currentCenterTitle && !allMainCenterTargetBlank) || isApp
|
|
85
85
|
? '_self'
|
|
86
86
|
: '_blank'
|
|
87
87
|
}
|