From 4424be2da15786d0f6d557f3f789c00774db56b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antti=20M=C3=A4ki?= Date: Thu, 14 Nov 2024 11:14:08 +0200 Subject: [PATCH] Add ModListUpdateBanner The banner will show on top of an empty online mod list, explaining that the list is empty because splash screen failed to load it. A one-click option for trying to update the mod list is offered. This change is adjustment to the fact that the splash screen no longer stops on errors and user is more likely to reach the manager view with no mod list loaded into Vuex. --- src/components/ModListUpdateBanner.vue | 78 ++++++++++++++++++++++++++ src/components/views/OnlineModView.vue | 3 + 2 files changed, 81 insertions(+) create mode 100644 src/components/ModListUpdateBanner.vue diff --git a/src/components/ModListUpdateBanner.vue b/src/components/ModListUpdateBanner.vue new file mode 100644 index 00000000..b87d0e14 --- /dev/null +++ b/src/components/ModListUpdateBanner.vue @@ -0,0 +1,78 @@ + + + + + diff --git a/src/components/views/OnlineModView.vue b/src/components/views/OnlineModView.vue index ec0ce555..cba936a2 100644 --- a/src/components/views/OnlineModView.vue +++ b/src/components/views/OnlineModView.vue @@ -43,6 +43,7 @@ +