Browse Source

fix: include viewId as query param

pull/7875/head
Raju Udava 9 months ago
parent
commit
1048fe90a4
  1. 5
      packages/nc-gui/components/smartsheet/details/Api.vue

5
packages/nc-gui/components/smartsheet/details/Api.vue

@ -91,12 +91,15 @@ const snippet = computed(
method: 'GET',
headers: [{ name: 'xc-auth', value: token.value, comment: 'JWT Auth token' }],
url: apiUrl.value,
queryString: Object.entries(queryParams.value || {}).map(([name, value]) => {
queryString: [
...Object.entries(queryParams.value || {}).map(([name, value]) => {
return {
name,
value: String(value),
}
}),
{ name: 'viewId', value: view.value?.id },
],
}),
)

Loading…
Cancel
Save