fix: persist interceptor state for loged out user
This commit is contained in:
@@ -119,10 +119,8 @@ export const getDefaultSettings = (): SettingsDef => {
|
||||
|
||||
// Wait for platform to initialize before setting CURRENT_INTERCEPTOR_ID
|
||||
nextTick(() => {
|
||||
applySetting(
|
||||
"CURRENT_INTERCEPTOR_ID",
|
||||
defaultSettings.CURRENT_INTERCEPTOR_ID =
|
||||
platform?.interceptors.default || "browser"
|
||||
)
|
||||
})
|
||||
|
||||
return defaultSettings
|
||||
|
||||
Reference in New Issue
Block a user