pds-dev-kit-web-test 2.7.534 → 2.7.536

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.
@@ -96,7 +96,8 @@ function Text(props) {
96
96
  if (queryContext === null || queryContext === void 0 ? void 0 : queryContext.queryData) {
97
97
  var value = queryContext.queryData[CB_CONTENT_PROP_TEXT_SPEC_CONNECTDATA];
98
98
  if (Array.isArray(value)) {
99
- return value.join(', ');
99
+ // 객체에서 name만 추출하여 문자열 배열로 만든 뒤 결합
100
+ return value.map(function (item) { return item.name; }).join(', ');
100
101
  }
101
102
  if (CB_CONTENT_PROP_TEXT_SPEC_CONNECTDATA === 'paid') {
102
103
  if (value === 'PAID') {
@@ -104,9 +105,10 @@ function Text(props) {
104
105
  }
105
106
  }
106
107
  if (CB_CONTENT_PROP_TEXT_SPEC_CONNECTDATA === 'pinned') {
107
- if (value === 'true' && mode === 'EDIT') {
108
+ if (value === 'true') {
108
109
  return t('str_pinned');
109
110
  }
111
+ return '';
110
112
  }
111
113
  if (CB_CONTENT_PROP_TEXT_SPEC_CONNECTDATA.endsWith('Date') ||
112
114
  CB_CONTENT_PROP_TEXT_SPEC_CONNECTDATA.endsWith('At')) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web-test",
3
- "version": "2.7.534",
3
+ "version": "2.7.536",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",