diff options
| author | Karan Jayachandra <karan.jayachandra@nxp.com> | 2024-04-05 16:55:07 +0200 |
|---|---|---|
| committer | Karan Jayachandra <karan.jayachandra@nxp.com> | 2024-04-05 16:55:07 +0200 |
| commit | 9ef7d95c7010351078a929f5144f5098d4142cd0 (patch) | |
| tree | 57a33fc2bd915c4e9ed727356038537a7c5c719b /src/match_up/__init__.py | |
| parent | f48223b3d93e54cb9ed3f2174e9b6075719128bf (diff) | |
Added the working version in dash
Diffstat (limited to 'src/match_up/__init__.py')
| -rw-r--r-- | src/match_up/__init__.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/match_up/__init__.py b/src/match_up/__init__.py index c41394a..04c2f12 100644 --- a/src/match_up/__init__.py +++ b/src/match_up/__init__.py @@ -19,7 +19,9 @@ class Application: database_location = DATABASE_LOCATION self._session = PlaySession(PurePath(database_location)) self._dashboard = Dash("Match Up!", external_stylesheets=[ZEPHYR]) - self._layout = MainLayout(self._session.data.get_players()) + self._layout = MainLayout( + self._session.data.get_players(), self._session.get_matches() + ) self._dashboard.layout = self._layout.get() def run(self): |
