From c4139f7e372941df5439a5f2fce6ed39e204ae0b Mon Sep 17 00:00:00 2001 From: James Date: Wed, 3 Jul 2019 15:10:34 +1000 Subject: [PATCH] Correctly handle exit on error --- ui/src/App.vue | 5 +++++ ui/src/views/ErrorView.vue | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ui/src/App.vue b/ui/src/App.vue index f291fd4..d5a5d19 100644 --- a/ui/src/App.vue +++ b/ui/src/App.vue @@ -86,6 +86,11 @@ pre { bottom: 0; } +.is-top-floating { + position: absolute; + top: 0; +} + .is-right-floating { position: absolute; right: 0; diff --git a/ui/src/views/ErrorView.vue b/ui/src/views/ErrorView.vue index 337abaa..d8313ce 100644 --- a/ui/src/views/ErrorView.vue +++ b/ui/src/views/ErrorView.vue @@ -3,7 +3,7 @@
-
+

Back Exit @@ -50,6 +50,9 @@ export default { methods: { go_back: function () { this.$router.go(-1) + }, + exit: function () { + this.$root.exit() } } }