checkPermission('App.Listforms.Listform.Update')
This commit is contained in:
parent
6aa5e2b1ca
commit
71b976b96b
5 changed files with 5 additions and 5 deletions
|
|
@ -295,7 +295,7 @@ const FormButtons = (props: {
|
|||
onClick={openDynamicGridReport}
|
||||
></Button>
|
||||
)}
|
||||
{checkPermission(gridDto?.gridOptions.permissionDto.u) && !isSubForm && (
|
||||
{checkPermission('App.Listforms.Listform.Update') && !isSubForm && (
|
||||
<Button
|
||||
size="sm"
|
||||
variant="default"
|
||||
|
|
|
|||
|
|
@ -376,7 +376,7 @@ const Chart = (props: ChartProps) => {
|
|||
}}
|
||||
/>
|
||||
|
||||
{checkPermission(gridDto?.gridOptions.permissionDto.u) && (
|
||||
{checkPermission('App.Listforms.Listform.Update') && (
|
||||
<Item
|
||||
location="after"
|
||||
widget="dxButton"
|
||||
|
|
|
|||
|
|
@ -289,7 +289,7 @@ const GanttView = (props: GanttViewProps) => {
|
|||
showText="always"
|
||||
options={getRefreshButtonOptions()}
|
||||
/>
|
||||
{checkPermission(gridDto?.gridOptions.permissionDto.u) && (
|
||||
{checkPermission('App.Listforms.Listform.Update') && (
|
||||
<Item
|
||||
location="after"
|
||||
widget="dxButton"
|
||||
|
|
|
|||
|
|
@ -509,7 +509,7 @@ const Pivot = (props: PivotProps) => {
|
|||
onClick: resetPivotGridState,
|
||||
}}
|
||||
/>
|
||||
{checkPermission(gridDto?.gridOptions.permissionDto.u) && (
|
||||
{checkPermission('App.Listforms.Listform.Update') && (
|
||||
<Item
|
||||
location="after"
|
||||
widget="dxButton"
|
||||
|
|
|
|||
|
|
@ -613,7 +613,7 @@ const SchedulerView = (props: SchedulerViewProps) => {
|
|||
onClick: handleRefresh,
|
||||
}}
|
||||
/>
|
||||
{checkPermission(gridDto?.gridOptions.permissionDto.u) && (
|
||||
{checkPermission('App.Listforms.Listform.Update') && (
|
||||
<Item
|
||||
location="after"
|
||||
widget="dxButton"
|
||||
|
|
|
|||
Loading…
Reference in a new issue