diff --git a/enterprise/web-frontend/modules/baserow_enterprise/components/assistant/AssistantMessageSources.vue b/enterprise/web-frontend/modules/baserow_enterprise/components/assistant/AssistantMessageSources.vue index ea04efa77b..a7c9f95011 100644 --- a/enterprise/web-frontend/modules/baserow_enterprise/components/assistant/AssistantMessageSources.vue +++ b/enterprise/web-frontend/modules/baserow_enterprise/components/assistant/AssistantMessageSources.vue @@ -8,7 +8,7 @@ {{ - $tc('assistantMessageSources.sources', sources.length, { + $t('assistantMessageSources.sources', sources.length, { count: sources.length, }) }} diff --git a/web-frontend/modules/dashboard/middleware/dashboardLoading.js b/web-frontend/modules/dashboard/middleware/dashboardLoading.js index c1b45c9cc9..47ac1dcd0c 100644 --- a/web-frontend/modules/dashboard/middleware/dashboardLoading.js +++ b/web-frontend/modules/dashboard/middleware/dashboardLoading.js @@ -14,7 +14,9 @@ export default defineNuxtRouteMiddleware(async (to, from) => { const fromDashboardId = parseIntOrNull(from?.params?.dashboardId) const differentDashboardId = fromDashboardId !== toDashboardId - if (!from || differentDashboardId) { + // If it's the first page or the server side rendered page, then always put the + // dashboard in the loading state for the correct animation. + if (import.meta.server || !from || differentDashboardId) { await store.dispatch('dashboardApplication/setLoading', true) } }) diff --git a/web-frontend/modules/dashboard/pages/dashboard.vue b/web-frontend/modules/dashboard/pages/dashboard.vue index 54b00f091e..26a48dc54a 100644 --- a/web-frontend/modules/dashboard/pages/dashboard.vue +++ b/web-frontend/modules/dashboard/pages/dashboard.vue @@ -1,5 +1,5 @@