aboutsummaryrefslogtreecommitdiff
path: root/renderer
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2021-04-03 06:39:06 +0000
committerr <r@freesoftwareextremist.com>2021-04-03 06:40:32 +0000
commit2cb6a515ac019bf5621a4d5bd54cf388f5d65e20 (patch)
tree5b7e92867a826f6c5a7fd792d8ca6432132140a2 /renderer
parent089d4ac50026a9ec20746e59588df077b7d6ade8 (diff)
downloadbloat-2cb6a515ac019bf5621a4d5bd54cf388f5d65e20.tar.gz
bloat-2cb6a515ac019bf5621a4d5bd54cf388f5d65e20.zip
Update error page
- Add retry button for GET requests - Only show signin button when it's a session error
Diffstat (limited to 'renderer')
-rw-r--r--renderer/model.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/renderer/model.go b/renderer/model.go
index 6b27998..d6cd6f3 100644
--- a/renderer/model.go
+++ b/renderer/model.go
@@ -34,7 +34,9 @@ type NavData struct {
type ErrorData struct {
*CommonData
- Error string
+ Err string
+ Retry bool
+ SessionErr bool
}
type HomePageData struct {