chore: show invite count bubble on preferences button (#2458)

This commit is contained in:
Aman Harwara
2023-09-01 22:31:35 +05:30
committed by GitHub
parent 4ca291291c
commit be3b904f62
20 changed files with 158 additions and 54 deletions

View File

@@ -1,5 +1,5 @@
import { PreferenceId } from '../../Preferences/PreferenceId'
import { PreferencePaneId } from '@standardnotes/services'
export type SettingsParams = {
panel: PreferenceId
panel: PreferencePaneId
}

View File

@@ -1,5 +1,5 @@
import { UserRequestType } from '@standardnotes/common'
import { PreferenceId } from './../Preferences/PreferenceId'
import { PreferencePaneId } from '@standardnotes/services'
import { AppViewRouteParam, ValidAppViewRoutes } from './Params/AppViewRouteParams'
import { DemoParams } from './Params/DemoParams'
import { OnboardingParams } from './Params/OnboardingParams'
@@ -58,7 +58,7 @@ export class RouteParser implements RouteParserInterface {
this.checkForProperRouteType(RouteType.Settings)
return {
panel: this.searchParams.get(RootQueryParam.Settings) as PreferenceId,
panel: this.searchParams.get(RootQueryParam.Settings) as PreferencePaneId,
}
}