From 9ef7d95c7010351078a929f5144f5098d4142cd0 Mon Sep 17 00:00:00 2001 From: Karan Jayachandra Date: Fri, 5 Apr 2024 16:55:07 +0200 Subject: Added the working version in dash --- src/match_up/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/match_up/__init__.py') 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): -- cgit v1.3.1