From 71f8497beea96ee3fd0e5cd3cd69b10466380859 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Fri, 11 Mar 2022 01:50:44 +0000 Subject: [PATCH] add comment --- src/static/js/routes/route_table.mjs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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}`); }