집계 위젯(aggregation-widget) 항목 라벨 추가: MultilangSettingsModal 및 multilangLabelExtractor 파일에서 집계 위젯 관련 주석을 수정하여 항목 라벨을 명확히 하였습니다. 코드 가독성을 향상시키고, 다국어 지원을 위한 라벨 수집 및 매핑 로직을 개선하였습니다.
This commit is contained in:
@@ -326,7 +326,7 @@ export function extractMultilangLabels(
|
||||
});
|
||||
}
|
||||
|
||||
// 11. 집계 위젯 (aggregation-widget)
|
||||
// 11. 집계 위젯 (aggregation-widget) 항목 라벨
|
||||
if (compType === "aggregation-widget" && config?.items && Array.isArray(config.items)) {
|
||||
config.items.forEach((item: any, index: number) => {
|
||||
if (item.columnLabel && typeof item.columnLabel === "string") {
|
||||
@@ -608,7 +608,7 @@ export function applyMultilangMappings(
|
||||
};
|
||||
}
|
||||
|
||||
// 집계 위젯 (aggregation-widget) 매핑
|
||||
// 집계 위젯 (aggregation-widget) 항목 라벨 매핑
|
||||
if (compType === "aggregation-widget" && config?.items && Array.isArray(config.items)) {
|
||||
const updatedItems = config.items.map((item: any, index: number) => {
|
||||
const itemMapping = mappingMap.get(`${comp.id}_agg_${item.id || index}`);
|
||||
|
||||
Reference in New Issue
Block a user