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