Browse Source

Merge pull request #9618 from nocodb/fix/encode-id

fix: Encode id to handle special chars
pull/9619/head
Pranav C 2 months ago committed by GitHub
parent
commit
68fc9072b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      packages/nc-gui/composables/useCalendarViewStore.ts
  2. 2
      packages/nc-gui/composables/useKanbanViewStore.ts

2
packages/nc-gui/composables/useCalendarViewStore.ts

@ -745,7 +745,7 @@ const [useProvideCalendarViewStore, useCalendarViewStore] = useInjectionState(
base?.value.id as string, base?.value.id as string,
meta.value?.id as string, meta.value?.id as string,
viewMeta?.value?.id as string, viewMeta?.value?.id as string,
id, encodeURIComponent(id),
updateObj, updateObj,
// todo: // todo:
// { // {

2
packages/nc-gui/composables/useKanbanViewStore.ts

@ -396,7 +396,7 @@ const [useProvideKanbanViewStore, useKanbanViewStore] = useInjectionState(
base?.value.id as string, base?.value.id as string,
meta.value?.id as string, meta.value?.id as string,
viewMeta?.value?.id as string, viewMeta?.value?.id as string,
id, encodeURIComponent(id),
{ {
[property]: toUpdate.row[property], [property]: toUpdate.row[property],
}, },

Loading…
Cancel
Save