File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 11## NEXT
22
3+ - [ Fixed] User auth will now load without requiring extension sidebar to open
4+
35## 1.0.0
46
57- [ Breaking] Updated minimum VSCode version requirement to 1.69.0 to ensure node 20 is used
Original file line number Diff line number Diff line change @@ -43,14 +43,20 @@ export function registerUser(
4343 } ,
4444 ) ;
4545
46+ const getInitialData = async ( ) => {
47+ isLoadingUser . value = true ;
48+ currentUser . value = await checkLogin ( ) ;
49+ isLoadingUser . value = false ;
50+ } ;
51+
52+ getInitialData ( ) ;
53+
4654 const notifyUserChangedSub = effect ( ( ) => {
4755 broker . send ( "notifyUserChanged" , { user : currentUser . value } ) ;
4856 } ) ;
4957
5058 const getInitialDataSub = broker . on ( "getInitialData" , async ( ) => {
51- isLoadingUser . value = true ;
52- currentUser . value = await checkLogin ( ) ;
53- isLoadingUser . value = false ;
59+ await getInitialData ( ) ;
5460 } ) ;
5561
5662 const isLoadingSub = effect ( ( ) => {
You can’t perform that action at this time.
0 commit comments