fix - newly added object not visible in left menu (#14202)

resolves #14190 

added refreshCoreViews() call after object creation to immediately
update core views state, ensuring new objects appear in the navigation
drawer without requiring a refresh

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
Co-authored-by: prastoin <paul@twenty.com>
This commit is contained in:
Vinay Arvind Badgujar
2025-09-05 14:13:03 +05:30
committed by GitHub
parent 9746c3a787
commit 5824637d1a
72 changed files with 914 additions and 2581 deletions
@@ -1,6 +1 @@
import { FeatureFlagKey } from 'src/engine/core-modules/feature-flag/enums/feature-flag-key.enum';
export const DEFAULT_FEATURE_FLAGS = [
FeatureFlagKey.IS_CORE_VIEW_ENABLED,
FeatureFlagKey.IS_CORE_VIEW_SYNCING_ENABLED,
];
export const DEFAULT_FEATURE_FLAGS = [];