Commit 5eedf782 authored by erio's avatar erio
Browse files

fix(frontend): add available_channels_enabled to PublicSettings type and defaults

featureFlags.ts registry uses 'available_channels_enabled' as a
public-settings key, but the PublicSettings TS type (types/index.ts)
and the app store default (stores/app.ts) only had
channel_monitor_enabled. Adds the missing field so pnpm build passes.
parent 1949425a
......@@ -354,6 +354,7 @@ export const useAppStore = defineStore('app', () => {
balance_low_notify_threshold: 0,
channel_monitor_enabled: true,
channel_monitor_default_interval_seconds: 60,
available_channels_enabled: false,
}
}
......
......@@ -187,6 +187,7 @@ export interface PublicSettings {
balance_low_notify_threshold: number
channel_monitor_enabled: boolean
channel_monitor_default_interval_seconds: number
available_channels_enabled: boolean
}
export interface AuthResponse {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment