feat
This commit is contained in:
@@ -441,7 +441,7 @@ const ServicePage = () => {
|
||||
text: value.label,
|
||||
value: key,
|
||||
})),
|
||||
onFilter: (value, record) => record.attributes.type === value,
|
||||
onFilter: (value, record) => record.attributes.template_type === value,
|
||||
render: (type) => {
|
||||
const typeConfig = TEMPLATE_TYPES[type];
|
||||
return typeConfig ? (
|
||||
@@ -497,7 +497,7 @@ const ServicePage = () => {
|
||||
type="link"
|
||||
onClick={() =>
|
||||
handleNavigateToTemplate(
|
||||
record.attributes.type,
|
||||
record.attributes.template_type,
|
||||
record.id,
|
||||
"isView"
|
||||
)
|
||||
@@ -509,7 +509,7 @@ const ServicePage = () => {
|
||||
type="link"
|
||||
onClick={() =>
|
||||
handleNavigateToTemplate(
|
||||
record.attributes.type,
|
||||
record.attributes.template_type,
|
||||
record.id,
|
||||
"edit"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user