diff --git a/frontend/src/views/Dashboard.vue b/frontend/src/views/Dashboard.vue index 3e8145d..ae94e90 100644 --- a/frontend/src/views/Dashboard.vue +++ b/frontend/src/views/Dashboard.vue @@ -383,7 +383,6 @@ const failingSources = computed(() => { const totalFailingCount = computed(() => failingSources.value.length) - const failedCount = computed(() => stats.value?.active_failed || 0) const activeDownloadsCount = computed(() => (stats.value?.queued || 0) + (stats.value?.running || 0) @@ -573,6 +572,18 @@ function getPlatformIcon(platform) { return icons[platform] || 'mdi-web' } +function getPlatformColor(platform) { + const colors = { + patreon: 'red', + subscribestar: 'amber', + hentaifoundry: 'purple', + discord: 'indigo', + pixiv: 'blue', + deviantart: 'green', + } + return colors[platform] || 'grey' +} + function getStatusColor(status) { const colors = { completed: 'success',