Browse Source

fix(gui-v2): columns with title including special chars

Signed-off-by: mertmit <mertmit99@gmail.com>
pull/3384/head
mertmit 2 years ago
parent
commit
f14cda18d7
  1. 8
      packages/nc-gui-v2/composables/useLTARStore.ts

8
packages/nc-gui-v2/composables/useLTARStore.ts

@ -130,7 +130,7 @@ const [useProvideLTARStore, useLTARStore] = useInjectionState(
meta.value.id,
rowId.value,
colOptions.type as 'mm' | 'hm',
column?.value?.title,
encodeURIComponent(column?.value?.title),
{
limit: String(childrenExcludedListPagination.size),
offset: String(childrenExcludedListPagination.size * (childrenExcludedListPagination.page - 1)),
@ -156,7 +156,7 @@ const [useProvideLTARStore, useLTARStore] = useInjectionState(
meta.value.id,
rowId.value,
colOptions.type as 'mm' | 'hm',
column?.value?.title,
encodeURIComponent(column?.value?.title),
{
limit: String(childrenListPagination.size),
offset: String(childrenListPagination.size * (childrenListPagination.page - 1)),
@ -212,7 +212,7 @@ const [useProvideLTARStore, useLTARStore] = useInjectionState(
meta.value.title,
rowId.value,
colOptions.type as 'mm' | 'hm',
column?.value?.title,
encodeURIComponent(column?.value?.title),
getRelatedTableRowId(row) as string,
)
} catch (e: any) {
@ -247,7 +247,7 @@ const [useProvideLTARStore, useLTARStore] = useInjectionState(
meta.value.title as string,
rowId.value,
colOptions.type as 'mm' | 'hm',
column?.value?.title,
encodeURIComponent(column?.value?.title),
getRelatedTableRowId(row) as string,
)
await loadChildrenList()

Loading…
Cancel
Save