fix List Pages to work with Vectors

This commit is contained in:
Samuel Lorch 2023-11-06 22:38:32 +01:00
parent 4d928ca00e
commit deac409136
3 changed files with 16 additions and 16 deletions

View file

@ -17,12 +17,12 @@ const columns = [
const displayData = $computed(() => {
let data: any;
data = [];
for (const name in services) {
for (const index in services) {
data.push({
name,
value: getServiceValue(services[name]),
type: services[name].type,
comment: services[name].comment,
name: services[index].name,
value: getServiceValue(services[index]),
type: services[index].type,
comment: services[index].comment,
});
}
return data;