Commit 8d3ab2c
committed
feat: Add feature toggles and general settings to user context
- Update the `inject_settings` function in `src/models/__init__.py` to include the `feature_toggles_settings` and `general_settings` variables in the returned dictionary
- This allows the user dashboard to access and display the feature toggles and general settings for authenticated users1 parent 7667eaa commit 8d3ab2c
2 files changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
0 commit comments