fix: login redirection to active objects (#15366)
Fixes - https://github.com/twentyhq/twenty/issues/15364 - Removed `activeNonSystemObjectMetadataItems` from the hook as it was not necessary. Hook use `alphaSortedActiveNonSystemObjectMetadataItems` now. - Correctly check for read permissions. --------- Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
-5
@@ -1,5 +0,0 @@
|
||||
import { createState } from 'twenty-ui/utilities';
|
||||
export const isAppWaitingForFreshObjectMetadataState = createState<boolean>({
|
||||
key: 'isAppWaitingForFreshObjectMetadataState',
|
||||
defaultValue: false,
|
||||
});
|
||||
@@ -0,0 +1,5 @@
|
||||
import { createState } from 'twenty-ui/utilities';
|
||||
export const shouldAppBeLoadingState = createState<boolean>({
|
||||
key: 'shouldAppBeLoadingState',
|
||||
defaultValue: false,
|
||||
});
|
||||
Reference in New Issue
Block a user