Skip to content

Commit

Permalink
Fix error in the title on page_404 (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
Daxexs committed Aug 7, 2024
1 parent 0b7180e commit 39706ce
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/flet_easy/route.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,12 +287,14 @@ def _go(self, route: str):
raise Exception(e)
if pg_404:
self.__data._check_use_go = True
self.__reload_datasy()

if self.__page_404:
self.__pagesy = self.__page_404
self.__reload_datasy()
self._view_append(self.__page_404.route)

else:
self.__pagesy = Pagesy(self.__view_404.route, self.__view_404.view)
self.__pagesy = Pagesy(self.__view_404.route, self.__view_404.view, "FletEasy-404")
self.__reload_datasy()
self._view_append(self.__view_404.route)
self.__data._check_event_router = False

0 comments on commit 39706ce

Please sign in to comment.