fix: redraw feed datatable when new entries are created

This commit is contained in:
Corban-Lee Jones 2025-05-01 00:14:27 +01:00
parent ce51623637
commit 77c8d39142

View File

@ -362,7 +362,7 @@ $("#editForm").on("submit", async event => {
dataType: "json", dataType: "json",
data: $(event.target).serializeArray(), data: $(event.target).serializeArray(),
success: () => { success: () => {
table.fireEvent("draw"); (table as any).dataTable.draw() // is this okay? dataTable is private, but there is no other method I know of to redraw...
closeEditModal(); closeEditModal();
}, },
error: error => { error: error => {