]> source.dussan.org Git - nextcloud-server.git/commit
Hide error if a background request fails during navigation 22458/head
authorChristoph Wurst <christoph@winzerhof-wurst.at>
Thu, 27 Aug 2020 11:19:12 +0000 (13:19 +0200)
committerChristoph Wurst <christoph@winzerhof-wurst.at>
Thu, 27 Aug 2020 11:19:12 +0000 (13:19 +0200)
commitceffbe9f6de99a467f1efbe66a8e1aef4ee4f5dd
tree38fd8a1fc6a6834c2b0d79e5396965105e05d136
parentdf99d8f0e02c23b8b9fb43c72183eef5e49430ba
Hide error if a background request fails during navigation

If you open the dashboard but quickly navigate somewhere else, a toast
will show telling you that the weather status could not be fetched. As a
user I don't care about this. This is only relevant if the user intents
to no leave the page.

So let's not show a toast for aborted connections. This makes the UX a
tad smoother.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
apps/weather_status/js/weather-status.js
apps/weather_status/js/weather-status.js.map
apps/weather_status/src/App.vue