diff --git a/src/static/js/routes/route_table.mjs b/src/static/js/routes/route_table.mjs index eed3e82..f61bd08 100644 --- a/src/static/js/routes/route_table.mjs +++ b/src/static/js/routes/route_table.mjs @@ -1,6 +1,8 @@ "use strict"; export default async function(params) { - console.log(`TABLE ${params.table_name}`); - + // TODO: Display UI elements until switch is complete? Or maybe add a cancellation token / AbortSignal to TableView.switch_table()? + console.log(`TABLE SWITCH START: ${params.table_name}`); + await globalThis.sysui.tableview.switch_table(params.table_name); + console.log(`TABLE SWITCH COMPLETE: ${params.table_name}`); }