diff --git a/packages/frontend/editor-ui/src/features/insights/components/InsightsDashboard.vue b/packages/frontend/editor-ui/src/features/insights/components/InsightsDashboard.vue index 78af34d350..1c1082a0f2 100644 --- a/packages/frontend/editor-ui/src/features/insights/components/InsightsDashboard.vue +++ b/packages/frontend/editor-ui/src/features/insights/components/InsightsDashboard.vue @@ -104,7 +104,22 @@ watch( />
- +
+ + + + {{ i18n.baseText('insights.chart.loading') }} +
diff --git a/packages/frontend/editor-ui/src/features/insights/components/tables/InsightsTableWorkflows.vue b/packages/frontend/editor-ui/src/features/insights/components/tables/InsightsTableWorkflows.vue index 4bf5ec7d10..b6ea1e1796 100644 --- a/packages/frontend/editor-ui/src/features/insights/components/tables/InsightsTableWorkflows.vue +++ b/packages/frontend/editor-ui/src/features/insights/components/tables/InsightsTableWorkflows.vue @@ -15,7 +15,7 @@ import { smartDecimal } from '@n8n/utils/number/smartDecimal'; import { useTelemetry } from '@/composables/useTelemetry'; import { VIEWS } from '@/constants'; import { computed, ref, watch } from 'vue'; -import { type RouteLocationRaw } from 'vue-router'; +import { type RouteLocationRaw, type LocationQueryRaw } from 'vue-router'; const props = defineProps<{ data: InsightsByWorkflow; @@ -81,7 +81,7 @@ const headers = ref>>([ }, }, { - title: 'Project name', + title: i18n.baseText('insights.dashboard.table.projectName'), key: 'projectName', disableSort: true, }, @@ -101,11 +101,12 @@ const emit = defineEmits<{ ]; }>(); -const getWorkflowLink = (item: Item): RouteLocationRaw => ({ +const getWorkflowLink = (item: Item, query?: LocationQueryRaw): RouteLocationRaw => ({ name: VIEWS.WORKFLOW, params: { name: item.workflowId, }, + query, }); const trackWorkflowClick = (item: Item) => { @@ -146,6 +147,18 @@ watch(sortBy, (newValue) => { +