Fix pandas DataFrame indexing in project selection

Use df.iloc[row, col] instead of df[row][col] for proper pandas access.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-11-27 16:25:55 +01:00
parent 0a27d7c227
commit 1935bae594

View File

@@ -180,8 +180,8 @@ def create_projects_page(
row = evt.index[0]
if row < len(df):
project_id = df[row][0]
project_name = df[row][1]
project_id = df.iloc[row, 0]
project_name = df.iloc[row, 1]
return project_id, f"### {project_name}"
return None, "### Select a project"