Changed the hardcoded ToDo for the first category name.

This commit is contained in:
rocketdebris 2026-01-24 16:08:26 -05:00
parent f0acbd0630
commit e730de3887

View file

@ -36,9 +36,6 @@ const props = defineProps({
},
});
//Constants
//const categories = ["To-do", "Completed"];
//Reactive data
const centerData = ref(null);
const hoveredSegment = ref(null);
@ -113,7 +110,7 @@ const updateCenterData = () => {
};
} else {
centerData.value = {
label: "To-do",
label: props.categories.labels[0],
value: todos,
percentage: null,
};