Hide Activity Topic

Hello,

Im already hiding timeline-items with this script:

frappe.ui.form.on(“Doctype”, {
refresh: function (frm) {
$(‘.timeline-items’).hide();
}
});

Since i upgraded to v15, the Activity Topic is back but timeline-items still hidden:

How can I hide the Activity Topic ?

Hi @k452,

I already provided the solution for your same topic.

If not work then apply it.

frappe.ui.form.on("DocType", {
  refresh: function (frm) {
      setTimeout(() => {
        $('.timeline-items').hide();
      }, 10);
  }
});

Please set your doctype name in the script.