import {display_toast} from '../toaster.js' export default { name: "History_view", delimiters: ['[[', ']]'], props: { history: Object, key_loop: Number, tree_view: Boolean }, emits: ['delete_node'], setup(props, {emit}) { async function remove_node(history_uuid){ const res = await fetch('/history/remove_node_session/' + history_uuid) display_toast(res) emit('delete_node', true) } async function remove_node_tree(history_uuid){ const res = await fetch('/history/remove_node_tree/' + history_uuid) display_toast(res) emit('delete_node', true) } return { remove_node, remove_node_tree, emit } }, template: `
[[history.query]]
[[history.uuid]]

Input Attribute:

[[history.input]]

Modules:

[[history.modules.join(", ")]]
See results
[[history.query_date]]
` }