Skip to content

Commit 5695bb4

Browse files
Fixed possible issue with incorrect update
1 parent c615f79 commit 5695bb4

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

web/components/workspace/WorkspaceReviewsPanel.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@
5050
<!-- Listing of candidates -->
5151
<QItem
5252
v-for="c in filteredCandidates"
53-
:key="c.uid"
5453
:class="[!!c.archivedAtUtc ? 'text-italic archived' : undefined]"
5554
@click="navigateTo(`/workspace/${workspace.uid}/c/${c.uid}`)"
5655
clickable

web/pages/home.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
-->
4040
<QItem
4141
v-for="w in filteredWorkspaces"
42-
:key="w.uid"
4342
@click="navigateTo(`/workspace/${w.uid}`)"
4443
clickable
4544
>

web/stores/workspaceStore.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import dayjs from "dayjs";
2-
import { deleteField, where } from "firebase/firestore";
2+
import { deleteField, orderBy, where } from "firebase/firestore";
33
import { sourceStorage } from "../utils/data/Storage";
44
import { useCandidates } from "./composables/candidates";
55

@@ -110,7 +110,8 @@ export const useWorkspaceStore = defineStore("useWorkspaceStore", () => {
110110
findAndSplice(workspaces.value, removedWorkspace, false);
111111
},
112112
},
113-
where(`collaborators.${profile.uid}`, "!=", "")
113+
where(`collaborators.${profile.uid}`, "!=", ""),
114+
orderBy('name')
114115
);
115116

116117
firebaseSubscriptions.register(

0 commit comments

Comments
 (0)