Skip to content

πŸ”₯ πŸ”₯ πŸ”₯ A Free & Self-hostable Airtable Alternative

fix: remove lazy loading from views as it feels like stuck

Ramesh Manebd5bf7f7a8f0
diff --git a/packages/nc-gui/components/tabs/Smartsheet.vue b/packages/nc-gui/components/tabs/Smartsheet.vue
index 88cd1dc7d3..c181deddae 100644
--- a/packages/nc-gui/components/tabs/Smartsheet.vue
+++ b/packages/nc-gui/components/tabs/Smartsheet.vue
@@ -295,23 +295,23 @@ watch(isViewsLoading, async () => {
@resized="onResized"
>
<Pane class="flex flex-col h-full min-w-0" :max-size="contentMaxSize" :size="contentSize">
- <LazySmartsheetToolbar v-if="!isForm" show-full-screen-toggle />
+ <SmartsheetToolbar v-if="!isForm" show-full-screen-toggle />
<div :style="{ height: isForm ? '100%' : 'calc(100% - var(--toolbar-height))' }" class="flex flex-row w-full">
<Transition name="layout" mode="out-in">
<div v-if="openedViewsTab === 'view'" class="flex flex-1 min-h-0 w-3/4">
<div class="h-full flex-1 min-w-0 min-h-0 bg-nc-bg-default">
- <LazySmartsheetGrid v-if="isGrid || !meta || !activeView" ref="grid" />
+ <SmartsheetGrid v-if="isGrid || !meta || !activeView" ref="grid" />
<template v-if="activeView && meta">
- <LazySmartsheetGallery v-if="isGallery" />
+ <SmartsheetGallery v-if="isGallery" />
- <LazySmartsheetForm v-else-if="isForm && !$route.query.reload" />
+ <SmartsheetForm v-else-if="isForm && !$route.query.reload" />
<SmartsheetKanbanWrapper v-else-if="isKanban" />
- <LazySmartsheetCalendar v-else-if="isCalendar" />
+ <SmartsheetCalendar v-else-if="isCalendar" />
- <LazySmartsheetMap v-else-if="isMap" />
+ <SmartsheetMap v-else-if="isMap" />
</template>
</div>
</div>