- enabled tables for spreadsheet;

This commit is contained in:
Vitalii Kiiko
2026-04-07 14:49:35 +02:00
parent 4cbd28d58d
commit 2c4886323f
2 changed files with 2 additions and 2 deletions

View File

@@ -94,7 +94,7 @@ const BandoEditFormStep3 = forwardRef(function () {
const getFormsCallback = (resp) => {
if (resp.status === 'SUCCESS') {
const EXCLUDED_TYPES = new Set(['fileupload', 'fileselect', 'table', 'criteria_table', 'spreadsheet']);
const EXCLUDED_TYPES = new Set(['fileupload', 'fileselect', 'spreadsheet']);
console.log('resp.data', resp.data)
const raw = (resp.data ?? []).flatMap(form =>
(form.content ?? [])

View File

@@ -108,7 +108,7 @@ const BandoEditFormStep3Excel = forwardRef(function () {
const getFormsCallback = (resp) => {
if (resp.status === 'SUCCESS') {
const EXCLUDED_TYPES = new Set(['fileupload', 'fileselect', 'table', 'criteria_table']);
const EXCLUDED_TYPES = new Set(['fileupload', 'fileselect']);
const raw = (resp.data ?? []).flatMap(form =>
(form.content ?? [])
.filter(f => !EXCLUDED_TYPES.has(f.name))