mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-19 08:26:06 +00:00
10 lines
378 B
TypeScript
10 lines
378 B
TypeScript
// UI side feature flag
|
|
export const showNewCreateAlertsPage = (): boolean =>
|
|
localStorage.getItem('showNewCreateAlertsPage') === 'true';
|
|
|
|
// UI side FF to switch between the 2 layouts of the create alert page
|
|
// Layout 1 - Default layout
|
|
// Layout 2 - Condensed layout
|
|
export const showCondensedLayout = (): boolean =>
|
|
localStorage.getItem('showCondensedLayout') === 'true';
|