diff --git a/src/components/Project/MemberList.vue b/src/components/Project/MemberList.vue index 859d722..9e49dbf 100644 --- a/src/components/Project/MemberList.vue +++ b/src/components/Project/MemberList.vue @@ -12,8 +12,7 @@ const props = defineProps() const sortedMembers = computed(() => { if (!props.members) return [] - const li = props.members - li.sort((a, b) => { + const li = props.members.toSorted((a, b) => { if (a.duration.since.year !== b.duration.since.year) { return a.duration.since.year - b.duration.since.year } else {