clarify naming on activity type

This commit is contained in:
Gregor Vostrak
2026-03-27 00:37:29 +01:00
parent 797fddf638
commit 0f8f906e5c
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
export interface WindowActivityInPeriod {
appName: string;
url: string | null;
label: string | null;
count: number;
icon?: string | null;
}

View File

@@ -37,7 +37,7 @@ export function useActivityBoxes(params: {
}
function getActivityText(activity: WindowActivityInPeriod): string {
return activity.url ? `${activity.appName} - ${activity.url}` : activity.appName;
return activity.label ? `${activity.appName} - ${activity.label}` : activity.appName;
}
const activityBoxes = computed<ActivityBox[]>(() => {