mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-14 08:02:15 +03:00
console: move update columns out of advance setting on create ET form
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8479 GitOrigin-RevId: da159fc2fc94b0e2f7a5f147c90523b0756f0c27
This commit is contained in:
parent
9143d9443a
commit
ce93288b94
@ -169,6 +169,26 @@ const CreateETForm: React.FC<CreateETFormProps> = props => {
|
||||
readOnly={false}
|
||||
tableName={table.name}
|
||||
/>
|
||||
<FormLabel
|
||||
title="Listen columns for update"
|
||||
tooltip={tooltip.advancedOperationDescription}
|
||||
/>
|
||||
{operations.update ? (
|
||||
<div className="clear-both w-72">
|
||||
<ColumnList
|
||||
operationColumns={operationColumns}
|
||||
table={table}
|
||||
isAllColumnChecked={isAllColumnChecked}
|
||||
readOnlyMode={readOnlyMode}
|
||||
handleToggleAllColumn={handleToggleAllColumn}
|
||||
handleOperationsColumnsChange={handleOperationsColumnsChange}
|
||||
/>
|
||||
</div>
|
||||
) : (
|
||||
<div className="clear-both w-80">
|
||||
<i>Applicable only if update operation is selected.</i>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
<hr className="my-md" />
|
||||
@ -224,28 +244,6 @@ const CreateETForm: React.FC<CreateETFormProps> = props => {
|
||||
}
|
||||
>
|
||||
<div>
|
||||
<div>
|
||||
<FormLabel
|
||||
title="Listen columns for update"
|
||||
tooltip={tooltip.advancedOperationDescription}
|
||||
/>
|
||||
{operations.update ? (
|
||||
<div className="clear-both w-72">
|
||||
<ColumnList
|
||||
operationColumns={operationColumns}
|
||||
table={table}
|
||||
isAllColumnChecked={isAllColumnChecked}
|
||||
readOnlyMode={readOnlyMode}
|
||||
handleToggleAllColumn={handleToggleAllColumn}
|
||||
handleOperationsColumnsChange={handleOperationsColumnsChange}
|
||||
/>
|
||||
</div>
|
||||
) : (
|
||||
<div className="clear-both w-80">
|
||||
<i>Applicable only if update operation is selected.</i>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
<hr className="my-md" />
|
||||
<div className="mt-md">
|
||||
<h4 className={heading}>Retry Logic</h4>
|
||||
|
Loading…
Reference in New Issue
Block a user