Edit ve Delete Button icon düzenlemesi
This commit is contained in:
parent
64488c5af0
commit
41c5f673fb
3 changed files with 28 additions and 28 deletions
|
|
@ -1,6 +1,14 @@
|
|||
{
|
||||
"commit": "d731943",
|
||||
"commit": "64488c5",
|
||||
"releases": [
|
||||
{
|
||||
"version": "1.0.29",
|
||||
"buildDate": "2025-09-28",
|
||||
"commit": "565357ba3e3f90811758b9b070e7e29e2c40b855",
|
||||
"changeLog": [
|
||||
"Chart komponenti eklendi."
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "1.0.28",
|
||||
"buildDate": "2025-09-24",
|
||||
|
|
@ -118,7 +126,7 @@
|
|||
{
|
||||
"version": "1.0.14",
|
||||
"buildDate": "2025-09-22",
|
||||
"commit": "51208b86937484d68b699120d74872067b1c7ef6",
|
||||
"commit": "1c4ab4f8232b4cd2a39fa66f8101664840113ce5",
|
||||
"changeLog": [
|
||||
"Yeni versiyon çıktı uyarı gelecek şekilde düzenlendi.",
|
||||
"Sağ alt kısımda mesaj çıkacak ve yenile butonu ile uygulama yeni versiyona geçecektir."
|
||||
|
|
|
|||
|
|
@ -289,25 +289,25 @@ const useListFormColumns = ({
|
|||
}
|
||||
|
||||
if (hasUpdate) {
|
||||
// column.buttons.push('edit')
|
||||
column.buttons.push({
|
||||
icon: 'edit',
|
||||
hint: translate('::Edit'),
|
||||
name: 'edit',
|
||||
text: translate('::Edit'),
|
||||
cssClass: 'big-button',
|
||||
})
|
||||
column.buttons.push('edit')
|
||||
// column.buttons.push({
|
||||
// icon: 'edit',
|
||||
// hint: translate('::Edit'),
|
||||
// name: 'edit',
|
||||
// text: translate('::Edit'),
|
||||
// cssClass: 'big-button',
|
||||
// })
|
||||
}
|
||||
|
||||
if (hasDelete) {
|
||||
// column.buttons.push('delete')
|
||||
column.buttons.push({
|
||||
icon: 'trash',
|
||||
hint: translate('::Delete'),
|
||||
name: 'delete',
|
||||
text: translate('::Delete'),
|
||||
cssClass: 'big-button',
|
||||
})
|
||||
column.buttons.push('delete')
|
||||
// column.buttons.push({
|
||||
// icon: 'trash',
|
||||
// hint: translate('::Delete'),
|
||||
// name: 'delete',
|
||||
// text: translate('::Delete'),
|
||||
// cssClass: 'big-button',
|
||||
// })
|
||||
}
|
||||
|
||||
gridDto.gridOptions.commandColumnDto.forEach((action) => {
|
||||
|
|
|
|||
|
|
@ -9,8 +9,8 @@ import {
|
|||
FaPlusCircle,
|
||||
FaPencilAlt,
|
||||
FaEye,
|
||||
FaTools,
|
||||
FaSave,
|
||||
FaCog,
|
||||
} from 'react-icons/fa'
|
||||
import { useNavigate } from 'react-router-dom'
|
||||
import { GridColumnData } from '../list/GridColumnData'
|
||||
|
|
@ -92,7 +92,6 @@ const FormButtons = (props: {
|
|||
props.onActionNew()
|
||||
} else {
|
||||
navigate(-1)
|
||||
//navigate(ROUTES_ENUM.protected.admin.formNew.replace(':formCode', listFormCode))
|
||||
}
|
||||
toast.push(
|
||||
<Notification type="success" duration={2000}>
|
||||
|
|
@ -154,13 +153,6 @@ const FormButtons = (props: {
|
|||
key={'commandColumnButton-' + i}
|
||||
variant="default"
|
||||
size="xs"
|
||||
{...(item.icon
|
||||
? {
|
||||
icon: React.createElement(navigationIcon[item.icon], {
|
||||
className: 'text-gray-400',
|
||||
}),
|
||||
}
|
||||
: {})}
|
||||
title={item.hint}
|
||||
onClick={(e: any) => {
|
||||
if (item.onClick) {
|
||||
|
|
@ -284,7 +276,7 @@ const FormButtons = (props: {
|
|||
size="xs"
|
||||
variant="default"
|
||||
className="dx-button dx-button-mode-contained dx-button-normal"
|
||||
icon={<FaTools />}
|
||||
icon={<FaCog />}
|
||||
color="green-500"
|
||||
title={translate('::ListForms.ListForm.Manage')}
|
||||
onClick={() => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue