Remove unwanted options on the sidebar

Hello Guys

Is there any option to remove assign to, review, and tag from the sidebar, not whole the sidebar

Hi @jinsy,

Please apply it.

frappe.ui.form.on('Your_DocType', {
	refresh(frm) {
		$(".form-assignments").hide();
		$(".form-attachments").hide();
		$(".form-shared").hide();
		$(".form-tags").hide();
		$(".form-sidebar-stats").hide();
		$(".list-unstyled.sidebar-menu.text-muted").hide();
	}
});

Then reload and check it.

Thank You!

3 Likes

Thanks. @NCP .its working

how do i hide this from desk page?