georad commited on
Commit
1ba86d2
·
verified ·
1 Parent(s): 2f6133f

Update pages/chapter_index.py

Browse files
Files changed (1) hide show
  1. pages/chapter_index.py +1 -1
pages/chapter_index.py CHANGED
@@ -19,7 +19,7 @@ def dataframe_with_selections(df_chapters: pd.DataFrame, init_value: bool = Fals
19
  df_with_selections,
20
  hide_index=True,
21
  column_config={"Select": st.column_config.CheckboxColumn(required=True)},
22
- disabled=df.columns,
23
  )
24
 
25
  # Filter the dataframe using the temporary column, then drop the column
 
19
  df_with_selections,
20
  hide_index=True,
21
  column_config={"Select": st.column_config.CheckboxColumn(required=True)},
22
+ disabled=df_chapters.columns,
23
  )
24
 
25
  # Filter the dataframe using the temporary column, then drop the column