jingrow.listview_settings["Contact"] = {
	add_fields: ["image"],
	onload: function (listview) {
		listview.page.add_action_item(__("Download vCards"), function () {
			const contacts = listview.get_checked_items();
			open_url_post("/api/action/jingrow.contacts.pagetype.contact.contact.download_vcards", {
				contacts: contacts.map((c) => c.name),
			});
		});
	},
};
