combineResults = (results) => {
  const combined = { success: [], danger: [] };
  for (const uptResult of results) {
    const trigger_return = uptResult.trigger_return || {};
    if (trigger_return.notify && trigger_return.details)
      combined.success.push(
        div(
          { class: "d-inline" },
          trigger_return.notify,
          button(
            {
              class: "btn btn-sm btn-outline-secondary btn-xs",
              type: "button",
              "data-bs-toggle": "collapse",
              "data-bs-target": "#notifyDetails",
              "aria-expanded": "false",
              "aria-controls": "notifyDetails",
            },
            i({ class: "fas fa-plus" })
          ),
          div(
            { class: "collapse", id: "notifyDetails" },
            pre(trigger_return.details)
          )
        )
      );
    else if (trigger_return.notify)
      combined.success.push(trigger_return.notify);
    if (trigger_return.error) combined.danger.push(trigger_return.error);
    if (trigger_return.goto && !combined.goto) combined.trigger_return.goto;
  }
  return combined;
}
@param {*} results results from updateMatchingQuery
@returns success, danger, goto