Browse Source

fix: encode id to handle special chars

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/9618/head
Pranav C 2 months ago
parent
commit
8e073745fc
  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