From f300705d753f7833b2babf44581a4c4aa22cb5e5 Mon Sep 17 00:00:00 2001 From: "Kyle J. Kemp" Date: Sun, 22 Sep 2024 16:35:29 -0500 Subject: [PATCH] export id for queries --- src/app/query/query.component.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/query/query.component.ts b/src/app/query/query.component.ts index 2cfa9e3..a9da046 100644 --- a/src/app/query/query.component.ts +++ b/src/app/query/query.component.ts @@ -4,6 +4,7 @@ import * as alasql from 'alasql'; import * as _ from 'lodash'; import { LocalStorageService } from 'ngx-webstorage'; +import { id } from '../helpers'; import { QueryService } from '../services/query.service'; @Component({ @@ -49,6 +50,7 @@ export class QueryComponent { constructor() { (window as any)._ = _; + (window as any).id = id; const lastQueryTab = (this.localStorage.retrieve('lastquerytab') as number) ?? 0;