This commit is contained in:
Connor Johnstone
2026-03-19 15:07:30 -04:00
parent ee60076f70
commit c8e78606b1
10 changed files with 20 additions and 114 deletions

View File

@@ -2,7 +2,6 @@ use yew::prelude::*;
use yew_router::prelude::*;
use crate::api;
use crate::components::watch_indicator::WatchIndicator;
use crate::pages::Route;
use crate::types::ArtistListItem;
@@ -73,8 +72,7 @@ pub fn library_page() -> Html {
<td>
if a.total_items > 0 {
<span class="text-sm" style={
if a.total_watched >= a.total_items { "color: var(--accent);" }
else if a.total_watched > 0 { "color: var(--accent);" }
if a.total_watched > 0 { "color: var(--accent);" }
else { "color: var(--text-muted);" }
}>
{ format!("{}/{}", a.total_watched, a.total_items) }