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:
Varun Choudhary 2023-03-27 15:05:27 +05:30 committed by hasura-bot
parent 9143d9443a
commit ce93288b94

View File

@ -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>