Skip to content

Commit

Permalink
Don't use translation for default schedule column names (#2404)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-Tideman authored Oct 22, 2024
1 parent f2d9742 commit aacf78e
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions src/lib/stores/configurable-table-columns.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { derived, type Readable, type Writable } from 'svelte/store';

import { page } from '$app/stores';

import { translate } from '$lib/i18n/translate';
import type { Settings } from '$lib/types/global';

import { namespaces } from './namespaces';
Expand Down Expand Up @@ -117,12 +116,12 @@ const DEFAULT_AVAILABLE_WORKFLOWS_COLUMNS: ConfigurableTableHeader[] = [
];

const DEFAULT_SCHEDULES_COLUMNS: ConfigurableTableHeader[] = [
{ label: translate('common.status'), pinned: false },
{ label: translate('schedules.id'), pinned: false },
{ label: translate('common.workflow-type'), pinned: false },
{ label: translate('schedules.recent-runs'), pinned: false },
{ label: translate('schedules.upcoming-runs'), pinned: false },
{ label: translate('schedules.schedule-spec'), pinned: false },
{ label: 'Status', pinned: false },
{ label: 'Schedule ID', pinned: false },
{ label: 'Workflow Type', pinned: false },
{ label: 'Recent Runs', pinned: false },
{ label: 'Upcoming Runs', pinned: false },
{ label: 'Schedule Spec', pinned: false },
];

const isNotParentWorkflowIdColumn = (column: ConfigurableTableHeader) =>
Expand Down

0 comments on commit aacf78e

Please sign in to comment.