Skip to content

Commit

Permalink
FIO-9006: fixed cached grid responses
Browse files Browse the repository at this point in the history
  • Loading branch information
roma-formio committed Oct 14, 2024
1 parent 1e1fa61 commit db75ca8
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ export class FormGridBodyComponent extends GridBodyComponent implements OnDestro

load(formio: FormioPromiseService, query?: any) {
query = query || {};
return formio.loadForms({ params: query })
return formio.loadForms(
{ params: query },
{ headers: { 'cache-control': 'no-cache' } },
)
.then((forms: any) => this.setRows(query, forms))
.then(() => this.attachTooltips());
}
Expand Down

0 comments on commit db75ca8

Please sign in to comment.