Merge pull request '260511_01_ENH: year가 고정으로 들어가 있던 버그 수정' (#9) from develop into master
Reviewed-on: #9
This commit is contained in:
@@ -52,11 +52,13 @@ const CategoryDetail = ({
|
||||
|
||||
const sheetName = `${product}_${type}_${target}`
|
||||
const h3 = buildHeader_Banner(BANNER_GROUP, BANNER_KEY_MAP);
|
||||
const years = [
|
||||
debouncedFilterValue.year,
|
||||
String(Number(debouncedFilterValue.year) - 1),
|
||||
].filter((year) => YEARS.includes(year));
|
||||
|
||||
type AnyRow = Record<string, any>;
|
||||
const sections: Section<AnyRow>[] = tableDataArray.flatMap((tableData) => {
|
||||
const years = [YEARS.at(-1), YEARS.at(-2)];
|
||||
|
||||
return years.map((year) => ({
|
||||
title: `${tableData.title}_${year}년`,
|
||||
header: h3,
|
||||
|
||||
Reference in New Issue
Block a user