Browse Source

chore(nc-gui): lint

pull/9720/head
Ramesh Mane 1 month ago
parent
commit
f861f71cdb
  1. 3
      packages/nc-gui/composables/useSharedFormViewStore.ts

3
packages/nc-gui/composables/useSharedFormViewStore.ts

@ -441,8 +441,6 @@ const [useProvideSharedFormStore, useSharedFormStore] = useInjectionState((share
async function handlePreFillForm() {
if (Object.keys(route.query || {}).length) {
// Decode query parameter keys
columns.value = await Promise.all(
(columns.value || []).map(async (c) => {
const queryParam = route.query[c.title as string] || route.query[encodeURIComponent(c.title as string)]
@ -458,7 +456,6 @@ const [useProvideSharedFormStore, useSharedFormStore] = useInjectionState((share
) {
return c
}
const decodedQueryParam = Array.isArray(queryParam)
? queryParam.map((qp) => decodeURIComponent(qp as string).trim())
: decodeURIComponent(queryParam as string).trim()

Loading…
Cancel
Save