Unfettered document loading

This commit is contained in:
Jiang Yio 2023-05-16 23:21:32 -04:00
parent f14800445f
commit 827a6596c7

View File

@ -177,14 +177,14 @@
); );
this.$watch( this.$watch(
() => (this.client, this.selection, {}), () => (this.client, this.selection, {}),
debounce(async function() { async function() {
try { try {
this.selection_text = (this.client) && (this.selection) ? await this.client.TIU_GET_RECORD_TEXT(this.selection) : null; this.selection_text = (this.client) && (this.selection) ? await this.client.TIU_GET_RECORD_TEXT(this.selection) : null;
} catch(ex) { } catch(ex) {
this.selection_text = null; this.selection_text = null;
console.warn(ex); console.warn(ex);
} }
}, 500), },
{ immediate: true } { immediate: true }
); );
}, },