mirror of
https://github.com/hcengineering/platform.git
synced 2025-05-02 21:33:07 +00:00
UBERF-9036 Fix infinite loading in drive (#7780)
Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
This commit is contained in:
parent
992bc99cea
commit
9a29cde7a6
@ -31,10 +31,8 @@
|
||||
let configurations: Record<Ref<Class<Doc>>, Viewlet['config']> = {}
|
||||
|
||||
function fetchConfigurations (viewlet: Viewlet): void {
|
||||
configurationsLoading = true
|
||||
configurations = {}
|
||||
|
||||
objectConfigurations.query(
|
||||
configurationsLoading = objectConfigurations.query(
|
||||
view.class.Viewlet,
|
||||
{
|
||||
attachTo: { $in: hierarchy.getDescendants(_class) },
|
||||
@ -49,8 +47,7 @@
|
||||
}
|
||||
|
||||
function fetchPreferences (viewlet: Viewlet): void {
|
||||
preferencesLoading = true
|
||||
preferenceQuery.query(
|
||||
preferencesLoading = preferenceQuery.query(
|
||||
view.class.ViewletPreference,
|
||||
{
|
||||
space: core.space.Workspace,
|
||||
|
@ -751,7 +751,7 @@ export function categorizeFields (
|
||||
}
|
||||
|
||||
export function makeViewletKey (loc?: Location): string {
|
||||
loc = loc != null ? { path: loc.path } : getCurrentResolvedLocation()
|
||||
loc = loc != null ? { path: loc.path, fragment: loc.fragment } : getCurrentResolvedLocation()
|
||||
loc.query = undefined
|
||||
|
||||
if (loc.fragment != null && loc.fragment !== '') {
|
||||
|
Loading…
Reference in New Issue
Block a user