SchedulerView düzenlemesi
This commit is contained in:
parent
a09f71521f
commit
5ded5d1229
1 changed files with 8 additions and 3 deletions
|
|
@ -39,7 +39,12 @@ import {
|
|||
getMobilePopupPosition,
|
||||
shouldUseMobileEditPopup,
|
||||
} from './shared/editPopup'
|
||||
import { getValueByField, resolveEditorType, withEditorTypeDefaults } from './shared/editingForm'
|
||||
import {
|
||||
getValueByField,
|
||||
resolveEditorType,
|
||||
translateCaption,
|
||||
withEditorTypeDefaults,
|
||||
} from './shared/editingForm'
|
||||
import { flattenGridColumns } from './shared/columns'
|
||||
import {
|
||||
useListFormCustomSources,
|
||||
|
|
@ -678,7 +683,7 @@ const SchedulerView = (props: SchedulerViewProps) => {
|
|||
itemType: e.itemType,
|
||||
colCount: e.colCount || 1,
|
||||
colSpan: e.colSpan || 1,
|
||||
caption: e.caption,
|
||||
caption: translateCaption(translate, e.caption),
|
||||
items: groupItems,
|
||||
})
|
||||
} else if (e.itemType === 'tabbed' && tabbedItems.length > 0 && e === tabbedItems[0]) {
|
||||
|
|
@ -690,7 +695,7 @@ const SchedulerView = (props: SchedulerViewProps) => {
|
|||
const effectiveColCount = tabbedItem.colCount || 1
|
||||
|
||||
return {
|
||||
title: tabbedItem.caption,
|
||||
title: translateCaption(translate, tabbedItem.caption),
|
||||
colCount: effectiveColCount,
|
||||
items: tabbedItem.items
|
||||
?.sort((a: any, b: any) =>
|
||||
|
|
|
|||
Loading…
Reference in a new issue