fix(common): prevent exception with ShortcodeListAdapter initialization (#3917)
This commit is contained in:
parent
7621ff2961
commit
e53382666a
1 changed files with 4 additions and 0 deletions
|
|
@ -273,6 +273,10 @@ const loading = computed(
|
|||
)
|
||||
|
||||
onLoggedIn(() => {
|
||||
if (adapter.isInitialized()) {
|
||||
return
|
||||
}
|
||||
|
||||
try {
|
||||
// wait for a bit to let the auth token to be set
|
||||
// because in some race conditions, the token is not set this fixes that
|
||||
|
|
|
|||
Loading…
Reference in a new issue