2022-02-26 00:21:33 +00:00
|
|
|
"use strict";
|
|
|
|
|
|
|
|
export default async function(params) {
|
2022-03-11 01:50:44 +00:00
|
|
|
// 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}`);
|
2022-02-26 00:21:33 +00:00
|
|
|
}
|