fix(admin): pricing table toTime import and swap support/config menu order
Fix ReferenceError in store price sync log columns and place پیکربندی before چت پشتیبانی in the header menu. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import type { BaseTableColumn } from '@core/type/baseTable'
|
||||
import { toJalali } from '@core/utils/useDataTime'
|
||||
import { toJalali, toTime } from '@core/utils/useDataTime'
|
||||
import { usePrice } from '@core/utils/usePrice'
|
||||
|
||||
const SOURCE_LABELS: Record<string, string> = {
|
||||
@@ -46,14 +46,14 @@ export const storePriceColumns: BaseTableColumn[] = [
|
||||
dataIndex: 'created_at',
|
||||
key: 'created_at',
|
||||
type: 'DateTime',
|
||||
customRender: (record: any) => toJalali(record.record.created_at)
|
||||
customRender: ({ record }) => toJalali(record.created_at)
|
||||
},
|
||||
{
|
||||
title: 'زمان',
|
||||
dataIndex: 'created_at',
|
||||
key: 'time_at',
|
||||
type: 'DateTime',
|
||||
customRender: (record: any) => toTime(record.record.created_at)
|
||||
customRender: ({ record }) => toTime(record.created_at)
|
||||
},
|
||||
{
|
||||
title: 'عملیات',
|
||||
|
||||
@@ -15,7 +15,7 @@ const Setting: RouteRecordRaw = {
|
||||
disabled: false,
|
||||
hideMenu: false,
|
||||
hideChildren: true,
|
||||
order: 7
|
||||
order: 7.5
|
||||
},
|
||||
children: [
|
||||
{
|
||||
|
||||
@@ -12,7 +12,7 @@ const support: RouteRecordRaw = {
|
||||
disabled: false,
|
||||
hideMenu: false,
|
||||
hideChildren: true,
|
||||
order: 7.5,
|
||||
order: 7,
|
||||
},
|
||||
children: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user