Skip to content

Commit 2440434

Browse files
shweta2101cyrossignol
authored andcommitted
fix: update nameModel in watch(model) and fix stale comment
1 parent dd59070 commit 2440434

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

components/ProjectGroupPicker.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ watch(model, (newId) => {
160160
if (pg && !isOpen.value) {
161161
searchText.value = pg.name
162162
selectedGroupName.value = pg.name
163+
nameModel.value = pg.name
163164
}
164165
})
165166

pages/dashboard.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ function autoSelectPreferredView() {
122122
}
123123
}
124124
125-
// currentProjectGroup is already initialized from localStorage synchronously
125+
// currentProjectGroup is already initialized from sessionStorage synchronously
126126
}
127127
128128
async function onCurrentWorkspacesChange(val) {

0 commit comments

Comments
 (0)