Add custom navigation guard to settings page (#137)

Closes: #131

There is probably a better ("more native") way to do this, but I spent hours trying to figure it out and in the end it was way easier to circumvent the built-in f7 router events and just use my own custom back button. D.U.M. - dumb, but not my fault (I think...).

Signed-off-by: Justin Georgi <justin.georgi@gmail.com>

Reviewed-on: #137
This commit is contained in:
2024-03-14 16:03:03 -07:00
parent f39c811e40
commit c6f17d7187
2 changed files with 26 additions and 5 deletions

View File

@@ -27,7 +27,7 @@ var routes = [
},
{
path: '/settings/',
component: SettingsPage,
component: SettingsPage
},
{
path: '/contact/',