diff --git a/client/components/app/Appbar.vue b/client/components/app/Appbar.vue
index d625dac7..e220f1ff 100644
--- a/client/components/app/Appbar.vue
+++ b/client/components/app/Appbar.vue
@@ -15,8 +15,6 @@
{{ title }}
@@ -36,10 +38,13 @@ export default { return this.task.details || 'Unknown' }, isFinished() { - return this.task.isFinished || false + return !!this.task.isFinished }, isFailed() { - return this.task.isFailed || false + return !!this.task.isFailed + }, + isSuccess() { + return this.isFinished && !this.isFailed }, failedMessage() { return this.task.error || '' @@ -48,6 +53,11 @@ export default { return this.task.action || '' }, actionIcon() { + if (this.isFailed) { + return 'error' + } else if (this.isSuccess) { + return 'done' + } switch (this.action) { case 'download-podcast-episode': return 'cloud_download' @@ -68,16 +78,15 @@ export default { return '' } }, - methods: { - }, + methods: {}, mounted() {} }