- fixed styles for paragraph field;

- update user's new faq item field - now editor;
- fixed displaying docs requested as html content;
- fixed displaying flow;
- fixed submitting new faq item;
This commit is contained in:
Vitalii Kiiko
2024-10-01 17:28:08 +02:00
parent b755c6e383
commit 55739446a1
10 changed files with 127 additions and 24 deletions

View File

@@ -129,6 +129,9 @@ const BandoFlowEdit = () => {
const formOptions = data.data.map(o => ({ label: o.label, value: o.id }))
storeSet.main.flowForms(data.data);
setFormOptions([{label: '', value: ''}, ...formOptions]);
const bandoId = getBandoId();
storeSet.main.setAsyncRequest();
FlowService.getFlow(bandoId, getFlowCallback, errGetFlowCallback);
}
storeSet.main.unsetAsyncRequest();
}
@@ -233,7 +236,6 @@ const BandoFlowEdit = () => {
const bandoId = getBandoId();
storeSet.main.setAsyncRequest();
FormsService.getFormsForCall(bandoId, getFormsCallback, errGetFormsCallback);
FlowService.getFlow(bandoId, getFlowCallback, errGetFlowCallback)
}, [id]);
useEffect(() => {