fix: gsheet query UI doesnt load on change of command fixed (#32427)

## Description
This PR fixes a UI issue where Google Sheets query form does not show
correct inputs until unselecting and reselecting the entity [row, sheet,
spreadsheet]

![318921276-6fb2ef69-9bc2-457b-87ea-601c1aa8646b](https://github.com/appsmithorg/appsmith/assets/30018882/d7218963-6e14-4913-8e8e-737882c13e5f)


Fixes #32349 
_or_  
Fixes `Issue URL`
> [!WARNING]  
> _If no issue exists, please create an issue first, and check with the
maintainers if the issue is valid._

## Automation

/ok-to-test tags="@tag.Datasource"

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!IMPORTANT]  
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/8566752208>
> Commit: `75e427498a74caf8d6ab0c3f6a4b2c5799cdfe50`
> Cypress dashboard url: <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=8566752208&attempt=1"
target="_blank">Click here!</a>
> All cypress tests have passed 🎉🎉🎉

<!-- end of auto-generated comment: Cypress test results  -->

Co-authored-by: “sneha122” <“sneha@appsmith.com”>
This commit is contained in:
sneha122 2024-04-05 13:56:44 +05:30 committed by GitHub
parent bdd130d95c
commit bc5b7909cb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -53,6 +53,7 @@
"controlType": "DROP_DOWN",
"initialValue": "ROWS",
"isRequired": true,
"setFirstOptionAsDefault": true,
"options": [
{
"disabled": "{{ ['INSERT_ONE', 'UPDATE_ONE', 'DELETE_ONE', 'FETCH_MANY', 'UPDATE_MANY', 'INSERT_MANY'].includes(actionConfiguration.formData.command.data) === false }}",