Fix peopleLeftMode initialization order in app setup

This commit is contained in:
Ruslan Bakiev
2026-02-20 19:32:48 +07:00
parent 129daa31d7
commit 608caa36df

View File

@@ -122,6 +122,7 @@ type WorkspaceDocument = {
};
const selectedTab = ref<TabId>("communications");
const peopleLeftMode = ref<PeopleLeftMode>("contacts");
function dayKey(date: Date) {
const y = date.getFullYear();
@@ -1893,7 +1894,6 @@ function openPilotInstructions() {
}
}
const peopleLeftMode = ref<PeopleLeftMode>("contacts");
const peopleListMode = ref<"contacts" | "deals">("contacts");
const peopleSearch = ref("");
const peopleSortMode = ref<PeopleSortMode>("lastContact");