|
@@ -24,6 +24,7 @@ const Widget = (prop: IWidgetPaliChapterListByTag) => {
|
|
|
return {
|
|
return {
|
|
|
Title: item.title,
|
|
Title: item.title,
|
|
|
PaliTitle: item.title,
|
|
PaliTitle: item.title,
|
|
|
|
|
+ level: item.level,
|
|
|
Path: item.path,
|
|
Path: item.path,
|
|
|
Book: item.book,
|
|
Book: item.book,
|
|
|
Paragraph: item.paragraph,
|
|
Paragraph: item.paragraph,
|
|
@@ -37,6 +38,7 @@ const Widget = (prop: IWidgetPaliChapterListByTag) => {
|
|
|
<>
|
|
<>
|
|
|
<PaliChapterList
|
|
<PaliChapterList
|
|
|
data={tableData}
|
|
data={tableData}
|
|
|
|
|
+ maxLevel={1}
|
|
|
onChapterClick={(e: IChapterClickEvent) => {
|
|
onChapterClick={(e: IChapterClickEvent) => {
|
|
|
if (typeof prop.onChapterClick !== "undefined") {
|
|
if (typeof prop.onChapterClick !== "undefined") {
|
|
|
prop.onChapterClick(e);
|
|
prop.onChapterClick(e);
|