Commit e29a9530 authored by QP Hou's avatar QP Hou

Fix duplicate header on repeating-table-header example

parent 61f7c56b
Pipeline #266 failed with stages
in 12 seconds
......@@ -20,6 +20,10 @@
tables.forEach((table) => {
// Get the reference UUID of the node
let ref = table.dataset.ref;
if (ref === table.dataset["split-from"]) {
// skip itself to avoid duplicate headers
// Find the node in the original source
let sourceTable = chunker.source.querySelector("[data-ref='"+ ref +"']");
// Find if there is a header
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment