1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-24 06:28:42 +01:00

chore(format): updates js files to updates prettier

This commit is contained in:
Amir Raminfar
2023-07-06 08:41:04 -07:00
parent d2bb0cd31d
commit e4ef784be7
16 changed files with 79 additions and 52 deletions

View File

@@ -82,21 +82,27 @@ const sortedContainers = computed(() =>
} else {
return a.name.localeCompare(b.name);
}
})
}),
);
const hosts = computed(() =>
config.hosts.reduce((acc, item) => {
acc[item.host] = item;
return acc;
}, {} as Record<string, { name: string; host: string }>)
config.hosts.reduce(
(acc, item) => {
acc[item.host] = item;
return acc;
},
{} as Record<string, { name: string; host: string }>,
),
);
const activeContainersById = computed(() =>
activeContainers.value.reduce((acc, item) => {
acc[item.id] = item;
return acc;
}, {} as Record<string, Container>)
activeContainers.value.reduce(
(acc, item) => {
acc[item.id] = item;
return acc;
},
{} as Record<string, Container>,
),
);
</script>
<style scoped lang="scss">